1. CVE archive
  2. 2003
  3. CVE-2003-1229

CVE-2003-1229

7.5 High severity CVSS v2.0 · source NVD AV:N/AC:L/Au:N/C:P/I:P/A:P 7.5 – High

Description

X509TrustManager in (1) Java Secure Socket Extension (JSSE) in SDK and JRE 1.4.0 through 1.4.0_01, (2) JSSE before 1.0.3, (3) Java Plug-in SDK and JRE 1.3.0 through 1.4.1, and (4) Java Web Start 1.0 through 1.2 incorrectly calls the isClientTrusted method when determining server trust, which results in improper validation of digital certificate and allows remote attackers to (1) falsely authenticate peers for SSL or (2) incorrectly validate signed JAR files.

Affected products

VendorProductVersionPlatform
oracle jre >= 1.3.0 <= 1.4.1 –
sun java web start >= 1.0 <= 1.2 –
sun jsse 1.0.3 –
All 835 Oracle Jre vulnerabilities

Vulnerability type

CWE-295 Improper Certificate Validation

The product does not validate, or incorrectly validates, a certificate.

Impact on systems

ScopeImpact
Integrity, Authentication Bypass Protection Mechanism, Gain Privileges or Assume Identity
When a certificate is invalid or malicious, it might allow an attacker to spoof a trusted entity by interfering in the communication path between the host and client. The product might connect to a malicious host while believing it is a trusted host, or the product might be deceived into accepting spoofed data that appears to originate from a trusted host.

How to prevent it

Architecture and Design · Implementation Certificates should be carefully managed and checked to assure that data are encrypted with the intended owner's public key.
Implementation If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the hostname.

All 1,816 CWE-295 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org