Wiz Agents & Workflows are here

CVE-2021-25958
Apache OFBiz vulnerability analysis and mitigation

Overview

Apache OFBiz versions v17.12.01 to v17.12.07 contain a sensitive information disclosure vulnerability identified as CVE-2021-25958. The vulnerability was discovered and disclosed on August 30, 2021. The issue occurs when handling errors through try-catch exceptions at multiple locations, which can leak sensitive table information that could aid attackers in reconnaissance (NVD, Mend).

Technical details

The vulnerability is classified as CWE-209 (Generation of Error Message Containing Sensitive Information). It has a CVSS v3.1 base score of 7.5 (HIGH) according to NVD, with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. The issue manifests when a user attempts to login with a very long password that exceeds the storage capacity of the UserLoginHistory.passwordUsed field, causing an exception that reveals sensitive database information (NVD).

Impact

The vulnerability allows unauthorized access to sensitive table information through error messages, which could be leveraged by attackers for reconnaissance purposes. The exposure of internal system information could potentially aid attackers in planning more targeted attacks against the system (Mend).

Mitigation and workarounds

The vulnerability has been fixed in Apache OFBiz version 17.12.08. The patch modifies the password storage mechanism to handle cases where the password exceeds the database field capacity by implementing a size check and storing a fixed string instead of the actual password when it's too long (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Related Apache OFBiz vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-54466CRITICAL9.8
  • Apache OFBizApache OFBiz
  • cpe:2.3:a:apache:ofbiz
NoYesAug 15, 2025
CVE-2025-59118HIGH7.3
  • Apache OFBizApache OFBiz
  • cpe:2.3:a:apache:ofbiz
NoYesNov 12, 2025
CVE-2025-61623MEDIUM6.5
  • Apache OFBizApache OFBiz
  • cpe:2.3:a:apache:ofbiz
NoYesNov 12, 2025
CVE-2025-30676MEDIUM6.1
  • Apache OFBizApache OFBiz
  • cpe:2.3:a:apache:ofbiz
NoYesApr 01, 2025
CVE-2025-26865LOW3.5
  • Apache OFBizApache OFBiz
  • cpe:2.3:a:apache:ofbiz
NoYesMar 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management