CVE-2022-23457

CRITICALCVSS 9.8/10EPSS 2.67%

Last modified

CVE-2022-23457 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. ESAPI (The OWASP Enterprise Security API) is a free, open source, web application security control library. Prior to version 2.3.0.0, the default implementation of `Validator.getValidDirectoryPath(String, String, File, boolean)` may incorrectly treat the tested input string as a child of the specified parent directory. EPSS estimates a 2.67% chance of exploitation in the next 30 days.

Description

ESAPI (The OWASP Enterprise Security API) is a free, open source, web application security control library. Prior to version 2.3.0.0, the default implementation of `Validator.getValidDirectoryPath(String, String, File, boolean)` may incorrectly treat the tested input string as a child of the specified parent directory. This potentially could allow control-flow bypass checks to be defeated if an attack can specify the entire string representing the 'input' path. This vulnerability is patched in release 2.3.0.0 of ESAPI. As a workaround, it is possible to write one's own implementation of the Validator interface. However, maintainers do not recommend this.

Metrics

CVSS 3.1
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
2.67%

83.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
OwaspEnterprise Security Api< 2.3.0.0
OracleWeblogic Server12.2.1.3.0
OracleWeblogic Server12.2.1.4.0
OracleWeblogic Server14.1.1.0.0
NetappActive Iq Unified ManagerAll versions
NetappOncommand Workflow AutomationAll versions

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2022-23457?
ESAPI (The OWASP Enterprise Security API) is a free, open source, web application security control library. Prior to version 2.3.0.0, the default implementation of `Validator.getValidDirectoryPath(String, String, File, boolean)` may incorrectly treat the tested input string as a child of the specified parent directory. This potentially could allow control-flow bypass checks to be defeated if an attack can specify the entire string representing the 'input' path. This vulnerability is patched in release 2.3.0.0 of ESAPI. As a workaround, it is possible to write one's own implementation of the Validator interface. However, maintainers do not recommend this.
How severe is CVE-2022-23457?
CVE-2022-23457 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 2.67% probability of exploitation in the next 30 days.
How do I fix CVE-2022-23457?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-23457?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST