We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.
Please see our statement on Data Privacy.
A vulnerability was found in ESAPI esapi-java-legacy and classified as problematic. This issue affects the interface Encoder.encodeForSQL of the SQL Injection Defense. An attack leads to an improper neutralization of special elements. The attack may be initiated remotely and an exploit has been disclosed to the public. The project was contacted early about this issue and handled it with an exceptional level of professionalism. Upgrading to version 2.7.0.0 is able to address this issue. Commit ID f75ac2c2647a81d2cfbdc9c899f8719c240ed512 is disabling the feature by default and any attempt to use it will trigger a warning. And commit ID e2322914304d9b1c52523ff24be495b7832f6a56 is updating the misleading Java class documentation to warn about the risks.
Eine problematische Schwachstelle wurde in ESAPI esapi-java-legacy gefunden. Es geht hierbei um die Funktion Encoder.encodeForSQL der Komponente SQL Injection Defense. Durch das Manipulieren mit unbekannten Daten kann eine improper neutralization of special elements-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk angegangen werden. Der Exploit steht zur öffentlichen Verfügung. Ein Aktualisieren auf die Version 2.7.0.0 vermag dieses Problem zu lösen. Der Patch wird als f75ac2c2647a81d2cfbdc9c899f8719c240ed512 bezeichnet. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.
Improper Neutralization of Special Elements
2025-06-28: | Advisory disclosed |
2025-06-28: | VulDB entry created |
2025-06-29: | VulDB entry last update |
Longlong Gong
uglory (VulDB User)
vuldb.com/?id.314321 (VDB-314321 | ESAPI esapi-java-legacy SQL Injection Defense Encoder.encodeForSQL special element)
vuldb.com/?ctiid.314321 (VDB-314321 | CTI Indicators (IOB, IOC, IOA))
vuldb.com/?submit.590149 (Submit #590149 | ESAPI esapi-java-legacy 2.6.2.0 SQL injection filtering bypass1)
vuldb.com/?submit.590150 (Submit #590150 | ESAPI esapi-java-legacy 2.6.2.0 SQL injection filtering bypass2 (Duplicate))
github.com/uglory-gll/javasec/blob/main/ESAPI.md
github.com/...op/documentation/ESAPI-security-bulletin13.pdf
github.com/...ommit/f75ac2c2647a81d2cfbdc9c899f8719c240ed512
github.com/...I/esapi-java-legacy/releases/tag/esapi-2.7.0.0
github.com/...ommit/e2322914304d9b1c52523ff24be495b7832f6a56
Support options