Security readout for executives and security teams
Plain-English summary
Apache OFBiz could reveal sensitive database table information in error messages when handling certain authentication errors. This is not described as direct data theft or code execution, but it can help attackers map the system and plan follow-on activity. The issue affects OFBiz v17.12.01 through v17.12.07.
Executive priority
Treat as a moderate-priority hardening issue. It does not indicate confirmed compromise, but internet-facing OFBiz systems should be checked promptly because reconnaissance leaks can lower the cost of later attacks.
Technical view
CVE-2021-25958 is a CWE-209 flaw in Apache OFBiz error handling. Multiple try/catch paths can expose sensitive table information after an exception involving very long password handling. CVSS 3.1 is 6.5: network-accessible, low complexity, no privileges or user interaction, with low confidentiality and availability impact.
Likely exposure
Exposure is most likely where Apache OFBiz v17.12.01 through v17.12.07 is deployed, especially if registration or login endpoints are reachable from untrusted networks. Confirmed exposure requires asset and version validation.
Exploitation context
The provided sources do not show active exploitation, and this CVE is not listed as KEV. The risk is mainly reconnaissance: leaked table information may help an attacker understand the application and chain later attacks.
Researcher notes
Evidence is limited to the CVE description, CVSS data, and referenced Apache commit. The affected range is stated as v17.12.01 to v17.12.07. No exploit status, fixed release number, or detailed mitigation is provided in the bundle.
Mitigation direction
- Inventory Apache OFBiz deployments and confirm exact 17.12.x versions.
- Review Apache guidance and the referenced commit for the vendor-corrected change.
- Prioritize vendor-supported upgrade or backport after confirming the fixed target version.
- Limit untrusted access to registration and login surfaces where operationally possible.
- Monitor application errors for unexpected sensitive schema or table disclosures.
Validation and detection
- Confirm whether any deployed OFBiz instance runs v17.12.01 through v17.12.07.
- Review authentication error responses for unintended database table or schema details.
- Check logs and monitoring for recurring exception patterns around authentication failures.
- Verify patched or upgraded instances return generic errors without sensitive table information.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-209: Information exposure and cloud metadata lookup
Information exposure and SSRF weaknesses can make discovery, cloud metadata, and credential material review relevant. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCredential and access behavior lookup
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
Open ATT&CK lookupCVE-2021-25958 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 6.5 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L3.92.5Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
6.5MediumVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/apache/ofbiz-framework/commit/2f5b8d33e32c4d9a48243cf9e503236acd5aec5cCVE reference · x_refsource_MISC
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25958CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Generation of Error Message Containing Sensitive Information
Generation of Error Message Containing Sensitive Information represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
