LiveActive security incident?Get immediate response
CVE Record

CVE-2021-25958: Generation of Error Message Containing Sensitive Information in Apache OFBiz

In Apache Ofbiz, versions v17.12.01 to v17.12.07 implement a try catch exception to handle errors at multiple locations but leaks out sensitive table info which may aid the attacker for further recon. A user can register with a very long password, but when he tries to login with it an exception occurs.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

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.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

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 · medium confidence lookup

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 lookup
description · low confidence lookup

Credential 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 lookup
cve · low confidence lookup

CVE-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
Vulnerability profileCVE Program record
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

Official CVE source material

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.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We 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.

ScoreVersionSeverityVectorExploitImpactSource
6.5CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L3.92.5Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.5Medium
CVSS 3.1 vector shape for CVE-2021-25958Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
apacheofbiz-frameworkv17.12.01, unspecifiedListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-209 · source CWE mapping

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.