Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-111277 Overview
CVE-2026-111277 is a missing authorization vulnerability [CWE-862] in NivoCart through version 2.5.1. The flaw resides in the download() action of the account/order controller. The endpoint accepts an order_id parameter without verifying the requester's session or ownership of the referenced order. Unauthenticated attackers can iterate order_id values that match guest orders stored with customer_id 0 to retrieve invoice contents. Disclosed data includes guest names, physical addresses, telephone numbers, email addresses, purchased items, and order totals. The issue enables bulk harvesting of personally identifiable information (PII) from any affected NivoCart storefront exposed to the internet.
Critical Impact
Unauthenticated remote attackers can enumerate guest order IDs to disclose complete customer PII and purchase history without any user interaction.
Affected Products
- NivoCart through 2.5.1
- NivoCart catalog/controller/account/order.php component
- NivoCart catalog/model/account/order.php component
Discovery Timeline
- 2026-10-15 - CVE-2026-111277 published to the National Vulnerability Database (NVD)
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-111277
Vulnerability Analysis
The vulnerability exists in the download() action within upload/catalog/controller/account/order.php. The controller handles invoice download requests but does not enforce an authorization check that ties the requested order_id to the authenticated session. Guest checkout orders are stored with customer_id set to 0, and the model layer in upload/catalog/model/account/order.php retrieves these records without an ownership predicate. As a result, any HTTP client supplying a valid integer order_id receives the associated invoice content. See the VulnCheck Advisory for Nivocart and Nivocart Issue Tracker #26 for additional context.
Root Cause
The root cause is missing authorization logic [CWE-862] in the invoice download handler. The code path treats possession of an order_id value as sufficient entitlement to view the order. Guest orders carry a null customer association, so the controller has no session identity to validate against. Review the vulnerable paths in the Nivocart Order PHP Code Review and the Nivocart Order Model Code Review.
Attack Vector
An unauthenticated remote attacker issues sequential HTTP GET requests to the account/order/download endpoint, incrementing the order_id parameter. Each successful response yields a guest invoice containing PII and purchase data. The attack requires no credentials, no user interaction, and no privileged position on the network. Automation allows scraping of the entire guest order history exposed by a vulnerable store.
No verified proof-of-concept code is published. The vulnerability mechanism is described in prose above; refer to the referenced advisories for exploitation details.
Detection Methods for CVE-2026-111277
Indicators of Compromise
- Sequential or enumerated requests to account/order/download with incrementing order_id values from a single source IP.
- High-volume 200 OK responses from account/order/download without preceding authentication cookies or session identifiers.
- Web server access logs showing invoice downloads correlated with guest checkouts the customer did not initiate.
Detection Strategies
- Deploy a web application firewall (WAF) rule that flags unauthenticated access to /index.php?route=account/order/download or equivalent routed paths.
- Alert on rate anomalies for the order/download endpoint, especially from IPs with no prior session cookie history.
- Correlate request bursts against a baseline of normal invoice download volume per source IP.
Monitoring Recommendations
- Enable verbose access logging on the NivoCart catalog controller and ship logs to a centralized analytics platform.
- Monitor outbound data volumes from the storefront for sudden spikes consistent with bulk invoice scraping.
- Track response sizes on the download endpoint; invoice responses have consistent sizes that make statistical anomaly detection feasible.
How to Mitigate CVE-2026-111277
Immediate Actions Required
- Block unauthenticated access to the account/order/download route at the WAF or reverse proxy layer.
- Audit web server access logs for prior enumeration against order_id and identify affected guest customers for breach notification.
- Restrict the storefront to known IP ranges or require a session cookie before invoice downloads are served, until a code fix is deployed.
Patch Information
No vendor patch is referenced in the available CVE data. Track the upstream fix progress through the Nivocart GitHub Repository and the Nivocart Issue Tracker #26. Apply fixes immediately once the maintainer publishes a corrected release.
Workarounds
- Modify catalog/controller/account/order.php to require an authenticated session or a signed, single-use invoice token before serving downloads.
- For guest orders, require the original order confirmation email token as a secondary authorization factor on the download request.
- Remove or disable the download() action if invoice self-service is not a required business function.
# Example WAF rule (ModSecurity) blocking unauthenticated invoice downloads
SecRule REQUEST_URI "@rx /account/order/download" \
"id:1011277,phase:1,deny,status:403,\
chain,msg:'CVE-2026-111277 NivoCart invoice access blocked'"
SecRule &REQUEST_COOKIES:PHPSESSID "@eq 0"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

