Sunshine Photo Cart <= 2.9.25 - Insecure Direct Object Reference to Order Manipulation
Strategic Overview
- Status
- Patched in 3.0
- Affected Version
<= 2.9.25- CVSS
- 5.3Medium
- Weakness type
- CWE-639 · Authorization Bypass Through User-Controlled Key
- CVE
CVE-2023-41796
At a glance
CVE-2023-41796 is a medium-severity Authorization Bypass Through User-Controlled Key vulnerability in the Sunshine Photo Cart WordPress plugin, affecting versions <= 2.9.25. It carries a CVSS score of 5.3 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 3.0; sites on affected versions should update now. Disclosed September 2023, reported by yuyudhn.
Vulnerability Overview
The Sunshine Photo Cart plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to, and including, 2.9.25 due to missing validation on a user-controlled key. This can allow unauthenticated attackers to manipulate orders that do not belong to them.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user.
CWE-639: Authorization Bypass Through User-Controlled Key
Reaching this weakness in Sunshine Photo Cart <= 2.9.25 takes a caller who can reach the endpoint. Authorization bypass through a user-controlled key, often called insecure direct object reference, means the application looks up a record by an identifier from the request without checking that the caller owns it.
Changing a number in the request is enough to read or modify other users' records, which on commerce and membership sites means customer data. For Sunshine Photo Cart the fix is 3.0: builds <= 2.9.25 are affected, anything from 3.0 onward is not.
Remediation
Update to version 3.0, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: Sunshine Photo Cart 3.0 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in Sunshine Photo Cart – Client Photo Gallery & Photo Proofing for Photographers
- 9.8CVE-2025-31084: Sunshine Photo Cart <= 3.4.10 PHP Object Injection
CVE-2025-31084 - 9.8CVE-2024-30221: Sunshine Photo Cart PHP Object Injection
CVE-2024-30221 - 8.8CVE-2025-5482: Sunshine Photo Cart <= 3.4.11 Privilege Escalation
CVE-2025-5482 - 8.8CVE-2022-40692: Sunshine Photo Cart <= 2.9.13 CSRF
CVE-2022-40692 - 6.3CVE-2022-45826: Sunshine Photo Cart <= 2.9.13 Missing Authorization
CVE-2022-45826 - 6.1CVE-2024-50463: Sunshine Photo Cart <= 3.2.9 Open Redirect
CVE-2024-50463 - 6.1CVE-2024-43971: Sunshine Photo Cart <= 3.2.5 Reflected XSS
CVE-2024-43971 - 6.1CVE-2024-30194: Sunshine Photo Cart <= 3.1.1 Reflected XSS
CVE-2024-30194
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C