提交 #1092726: SourceCodester Online Clothing Store 1.0 Cross-Site Request Forgery信息

标题SourceCodester Online Clothing Store 1.0 Cross-Site Request Forgery
描述A vulnerability was found in SourceCodester Online Clothing Store 1.0. It has been classified as problematic. This vulnerability affects the files Sign-up.php, View-Items.php, view-cart.php, Edit-Items.php, and Donate-Items.php. The manipulation of the requests leads to cross-site request forgery. No anti-CSRF token is generated, stored, or validated on any state-changing form or POST handler. In addition, no Origin or Referer validation is performed, and the session cookie is set without the SameSite attribute. An unauthenticated remote attacker can host a malicious page that automatically submits crafted forms on behalf of an authenticated victim, causing unauthorized order placement, item repricing, account registration, cart addition, or donation submission without the victim's knowledge. The exploit has been disclosed to the public and may be used. This issue is distinct from the existing CVE entries for this product. CVE-2020-28138 concerns SQL injection, CVE-2020-28139 concerns cross-site scripting via the offer.php Offer Detail field, and CVE-2026-19903 concerns direct download of a static .sql backup file. None of them cover the absence of anti-CSRF tokens or the missing SameSite cookie attribute. The root cause here is the complete absence of request-origin validation on state-changing operations (CWE-352), which requires a distinct remediation.
来源⚠️ https://gist.github.com/LMortalv/f2aa50ca82149b1913b16b2458f8cf69
用户
 Mortal_ (UID 102852)
提交2026-11-12 17時51分 (22 日前)
管理2026-12-04 14時33分 (22 days later)
状态已接受
VulDB条目449752 [SourceCodester/code-projects Online Clothing Store 1.0 跨网站请求伪造]
积分20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!