Bug 1013589 (CVE-2013-5679, CVE-2013-5960) - CVE-2013-5679 CVE-2013-5960 owasp-esapi-java: symmetric encryption MAC bypass
Summary: CVE-2013-5679 CVE-2013-5960 owasp-esapi-java: symmetric encryption MAC bypass
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2013-5679, CVE-2013-5960
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1013591
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-30 12:01 UTC by Ratul Gupta
Modified: 2019-09-29 13:08 UTC (History)
1 user (show)

Fixed In Version: owasp-esapi-java 2.1.0
Clone Of:
Environment:
Last Closed: 2019-06-08 02:30:34 UTC
Embargoed:


Attachments (Terms of Use)

Description Ratul Gupta 2013-09-30 12:01:05 UTC
Owasp-Esapi-Java, a free, open source, web application security control library, was found to have a vulnerability, where it was possible to bypass the authenticity check by setting the MAC length to 0 and the MAC to null, when ESAPI symmetric crypto with CBC mode is used with PKCS#7 padding (called PKCS5Padding in Java), and an HMAC for authenticity.

The configuration could result in an exploitable vulnerability depending on the context for encryption and what degree an attacker can tamper with the serialized ciphertext, though only some ESAPI were found to be exploitable when using the default configuration. To be exploitable, an attacker would require the ability to modify ciphertext either at rest or in transit.

Because a MAC bypass is possible, authenticity of the ciphertext cannot be guaranteed with the default ESAPI configuration. Consequently, this exposure may allow a successful padding oracle attack against the default ESAPI cryptosystem configuration and hence result in an exploitable vulnerability that could result in a loss of confidentiality or a bypass of the authentication or authorization system.

The issue is reported to be fixed in the 2.1.0 upstream release.

Comment 1 Ratul Gupta 2013-09-30 12:03:31 UTC
Created owasp-esapi-java tracking bugs for this issue:

Affects: fedora-all [bug 1013591]

Comment 4 Fedora Update System 2015-01-14 23:58:10 UTC
owasp-esapi-java-2.1.0-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2015-01-14 23:59:22 UTC
owasp-esapi-java-2.1.0-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Product Security DevOps Team 2019-06-08 02:30:34 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.