CVE-2021-47953: OpenCart 3.0.3.7 Cross-Site Request Forgery via account/password
OpenCart 3.0.3.7 contains a cross-site request forgery vulnerability that allows attackers to change user passwords by sending crafted requests to the account/password endpoint. Attackers can trick authenticated users into submitting hidden forms with new password values in the 'password' and 'confirm' parameters to hijack accounts.
Security readout for executives and security teams
Plain-English summary
A flaw in OpenCart 3.0.3.7 lets an attacker change a logged-in shopper's password if that shopper is tricked into visiting a malicious page. The attacker does not steal the password; they silently replace it, then log in as the customer. Impact is limited to individual account takeover on stores running this specific version.
Executive priority
Schedule a routine review for storefronts running OpenCart 3.0.3.7. Risk is account hijack of customers, not full site compromise, so treat as moderate hygiene work rather than emergency patching.
Technical view
OpenCart 3.0.3.7 exposes an account/password endpoint that accepts password and confirm parameters without an anti-CSRF token bound to the user session. An attacker who lures an authenticated customer to a hostile page can have the browser submit a hidden form that resets the victim's password. Classification is CWE-352, scored CVSS 4.0 5.3 (AV:N/AC:L/PR:L/UI:N), reflecting required victim session and limited integrity impact.
Likely exposure
Any internet-facing OpenCart 3.0.3.7 storefront with active customer accounts is exposed. Risk concentrates where customers stay logged in across browsing sessions or where the same browser visits untrusted sites. Administrative impact is limited unless an admin is socially engineered into the same flow.
Exploitation context
Public proof-of-concept exists on Exploit-DB (entry 49970) and a VulnCheck advisory describes the issue. The CVE is not listed in CISA KEV, and no confirmed in-the-wild exploitation is cited. Exploitation requires tricking a logged-in user into visiting an attacker-controlled page during their session.
Researcher notes
CWE-352 CSRF on the account/password endpoint accepting password and confirm parameters without a per-session anti-CSRF token. CVSS 4.0 score is 5.3 with PR:L and UI:N in the published vector, reflecting that the victim must already be authenticated. Only OpenCart 3.0.3.7 is named; other versions are not confirmed by the bundle. Public PoC exists (EDB-49970); no KEV entry. Validate by inspecting whether the endpoint enforces a token tied to the user session and rejects cross-origin POSTs.
Mitigation direction
Confirm OpenCart version and upgrade to a release that adds CSRF tokens to the account/password flow.
Consult OpenCart vendor guidance and security advisories for an official fix or recommended patch.
Add SameSite=Lax or Strict cookie attributes to session cookies to blunt cross-site form submission.
Deploy a WAF rule or reverse-proxy check requiring an Origin or Referer header on POSTs to account/password.
Reduce session lifetime and require re-authentication before password changes where feasible.
Validation and detection
Identify storefronts running OpenCart 3.0.3.7 via admin console or fingerprinting of public assets.
Review the account/password controller to confirm presence and validation of a per-session CSRF token.
Submit a same-site authenticated POST without a token in a test environment and confirm the request is rejected.
Inspect session cookies for SameSite attribute and verify Origin or Referer enforcement on state-changing routes.
Search web and proxy logs for unexpected POSTs to account/password from external referers.
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-352: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. 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.
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.
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.
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.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-352 · source CWE mapping
Cross-Site Request Forgery (CSRF)
Cross-Site Request Forgery (CSRF) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.