CVE-2012-5783: Medium severity apache commons httpclient vulnerability

Published Oct 16, 2012
·
Updated

Apache Commons HttpClient 3.x, as used in Amazon Flexible Payments Service (FPS) merchant Java SDK and other products, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.

Other sources

Apache Commons HttpClient, as used in Amazon Flexible Payments Service (FPS) merchant Java SDK and other products, could allow a remote attacker to conduct spoofing attacks, caused by the failure to verify that the server hostname matches a domain name in the subject's Common Name (CN) field of the X.509 certificate. By persuading a victim to visit a Web site containing a specially-crafted certificate, an attacker could exploit this vulnerability using man-in-the-middle techniques to spoof an SSL server.

IBM

Common Vulnerabilities and Exposures assigned an identifier CVE-2012-5783 to the following vulnerability:

Apache Commons HttpClient 3.x, as used in Amazon Flexible Payments Service (FPS) merchant Java SDK and other products, does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via andaarbitrary valid certificate.

References: [1] http://www.cs.utexas.edu/~shmat/shmatccs12.pdf [2] https://crypto.stanford.edu/~dabo/pubs/abstracts/ssl-client-bugs.html [3] http://www.sigsac.org/ccs/CCS2012/techprogram.shtml

Red Hat

Affected Software

11 affected componentsFixes available
redhat/jakarta-commons-httpclient<1:3.1-2.1_patch_01.ep5.el5
1:3.1-2.1_patch_01.ep5.el5
redhat/jakarta-commons-httpclient<1:3.1-2_patch_01.ep5.el6
1:3.1-2_patch_01.ep5.el6
redhat/jakarta-commons-httpclient<1:3.1-0.7.el6_3
1:3.1-0.7.el6_3
redhat/jakarta-commons-httpclient<1:3.1-2.1_patch_01.ep5.el4
1:3.1-2.1_patch_01.ep5.el4
redhat/redhat-support-plugin-rhev<0:3.3.0-14.el6e
0:3.3.0-14.el6e
maven/commons-httpclient:commons-httpclient>=3.0<4.0
Apache HttpClient=3.1
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.04
IBM Analytics Content Hub<=2.0

Event History

Oct 16, 2012
CVE Published
12:00 AM
Nov 4, 2012
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Nov 5, 2012
Data Sourced
via Red Hat·02:37 PM
DescriptionSeverityAffected Software
May 13, 2022
Advisory Published
via GitHub·01:10 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2012-5783?

CVE-2012-5783 is a vulnerability in Apache Commons HttpClient that could allow a remote attacker to conduct spoofing attacks.

2

Which products are affected by CVE-2012-5783?

Apache Commons HttpClient 3.x, Amazon Flexible Payments Service (FPS) merchant Java SDK, and other products are affected by CVE-2012-5783.

3

What is the severity of CVE-2012-5783?

The severity of CVE-2012-5783 is medium, with a severity value of 5.8.

4

How can I fix CVE-2012-5783?

To fix CVE-2012-5783, update to the recommended patch version specified in the affected software section.

5

Where can I find more information about CVE-2012-5783?

You can find more information about CVE-2012-5783 at the following references: [link1](https://access.redhat.com/security/cve/CVE-2012-5783), [link2](http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf), [link3](https://crypto.stanford.edu/~dabo/pubs/abstracts/ssl-client-bugs.html).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203