CVE-2013-5960

OWASP Enterprise Security API 2.0-2.1.0 - Authenticated Encryption Bypass via Ciphertext Tampering

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2013-5960. PoCs published by dawetmaster, andikahilmy.

AI-analyzed exploit summary This repository contains a vulnerable version of OWASP ESAPI Java (legacy) with examples demonstrating the CVE-2013-5960 vulnerability, which involves insecure cryptographic operations in the EncryptedProperties class. The provided code includes functional examples that can be used to exploit the vulnerability.

Description

The authenticated-encryption feature in the symmetric-encryption implementation in the OWASP Enterprise Security API (ESAPI) for Java 2.x before 2.1.0.1 does not properly resist tampering with serialized ciphertext, which makes it easier for remote attackers to bypass intended cryptographic protection mechanisms via an attack against the intended cipher mode in a non-default configuration, a different vulnerability than CVE-2013-5679.

Exploits (2)

nomisec WORKING POC
by dawetmaster · poc
https://github.com/dawetmaster/CVE-2013-5960-esapi-java-legacy-vulnerable

This repository contains a vulnerable version of OWASP ESAPI Java (legacy) with examples demonstrating the CVE-2013-5960 vulnerability, which involves insecure cryptographic operations in the EncryptedProperties class. The provided code includes functional examples that can be used to exploit the vulnerability.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: OWASP ESAPI Java (legacy)
No auth needed
Prerequisites: Java runtime environment · ESAPI library
devstral-2 · analyzed Mar 14, 2026 Full analysis →
nomisec WORKING POC
by andikahilmy · poc
https://github.com/andikahilmy/CVE-2013-5960-esapi-java-legacy-vulnerable

This repository contains a vulnerable version of OWASP ESAPI Java (legacy) that demonstrates CVE-2013-5960, a cryptographic vulnerability in the EncryptedProperties class. The provided examples and scripts allow users to interact with the flawed encryption mechanisms, showcasing how encrypted properties can be mishandled.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: OWASP ESAPI Java (legacy versions)
No auth needed
Prerequisites: Java runtime environment · ESAPI Java library (vulnerable version)
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (7)

Core 7
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/62415
Issue Tracking, Third Party Advisory x_refsource_confirm
https://github.com/ESAPI/esapi-java-legacy/issues/359
Issue Tracking, Third Party Advisory x_refsource_confirm
https://github.com/esapi/esapi-java-legacy/issues/306

Scores

EPSS 0.0017
EPSS Percentile 38.8%

Details

CWE
CWE-310
Status published
Products (2)
org.owasp.esapi/esapi 2.0.0.0 - 2.1.0.1Maven
owasp/enterprise_security_api 2.0 - 2.1.0.1
Published Sep 30, 2013
Tracked Since Feb 18, 2026