CVE-2012-5783: Low severity Apache 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

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

15 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 Concert Software<=1.0.0-3.0.0
debian/commons-httpclient
3.1-16
debian/commons-httpclient<3.1-10.1
3.1-10.1
debian/commons-httpclient<3.1-10.1
3.1-10.1
debian/commons-httpclient<3.1-10.1
3.1-10.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/jakarta-commons-httpclient to a version that resolves this vulnerability.

    Fixed in 1:3.1-2.1_patch_01.ep5.el5
  2. Upgrade

    Upgrade redhat/jakarta-commons-httpclient to a version that resolves this vulnerability.

    Fixed in 1:3.1-2_patch_01.ep5.el6
  3. Upgrade

    Upgrade redhat/jakarta-commons-httpclient to a version that resolves this vulnerability.

    Fixed in 1:3.1-0.7.el6_3
  4. Upgrade

    Upgrade redhat/jakarta-commons-httpclient to a version that resolves this vulnerability.

    Fixed in 1:3.1-2.1_patch_01.ep5.el4
  5. Upgrade

    Upgrade redhat/redhat-support-plugin-rhev to a version that resolves this vulnerability.

    Fixed in 0:3.3.0-14.el6e
  6. Upgrade

    Upgrade debian/commons-httpclient to a version that resolves this vulnerability.

    Fixed in 3.1-16
  7. Upgrade

    Upgrade debian/commons-httpclient to a version that resolves this vulnerability.

    Fixed in 3.1-10.1
  8. Upgrade

    Upgrade Apache Commons HttpClient to a version that resolves this vulnerability.

    Fixed in 4.0

Event History

Oct 16, 2012
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Event
12:00 AM
Nov 4, 2012
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description
Data Sourced
via NVD·10:55 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·10:55 PM
DescriptionAffected Software
Oct 14, 2020
Updated
via IBM·12:00 AM
Affected Software
Apr 23, 2021
Data Sourced
05:28 PM
Weakness
May 13, 2022
Advisory Published
via GitHub·01:10 AM
Data Sourced
via GitHub·01:10 AM
DescriptionWeaknessAffected Software
Jun 29, 2023
Data Sourced
via Red Hat·08:07 PM
DescriptionSeverityAffected Software
Sep 1, 2023
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Updated
via IBM·12:00 AM
Affected Software
Mar 14, 2024
Advisory Published
via GitHub·09:52 PM
Nov 5, 2024
Updated
via GitHub·10:28 PM
DescriptionAffected Software
Nov 27, 2024
Updated
via IBM·12:00 AM
Affected Software
Jun 16, 2026
Updated
via NVD·11:47 PM
RemedyAffected Software
Sep 22, 2026
Updated
via IBM·12:00 AM
DescriptionAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

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