{"id":"CVE-2010-20125","kind":"vulnerability","aliases":["CVE-2010-20125"],"related":[],"title":"DedeCMS: unauthenticated file inclusion in carbuyaction.php exposes local files","description":"DedeCMS before 5.7 contains a file inclusion vulnerability in plus/carbuyaction.php that allows remote unauthenticated attackers to control the include path by manipulating the uninitialized code parameter passed to require_once. Attackers can supply path traversal sequences ../../ to include arbitrary local files outside the intended payment directory, potentially achieving local file disclosure. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-18.","summary":"DedeCMS before 5.7 lets a remote, unauthenticated visitor control the path passed to require_once in plus/carbuyaction.php through the code parameter. Using ../../ sequences, an attacker can include and read arbitrary local files outside the payment directory.","severity":"high","cvss":8.7,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["dedecms","php","runtime","self-hosted"],"not_affected_if":["dedecms-5.7-or-later","endpoint-blocked"],"how_to_check":"- Look for `plus/carbuyaction.php` in the DedeCMS install directory\n- Check the DedeCMS version in the admin panel or the version file; the sources do not give the exact version string to match","fix":"- DedeCMS: move to `5.7` or later (sources state versions before 5.7 are affected)","status":"open","published_at":"2026-10-30T15:16:43+00:00","first_seen_at":"2026-10-30T15:31:09+00:00","triaged_at":"2026-10-30T15:33:16+00:00","updated_at":"2026-10-30T15:33:16+00:00","category":"runtime","confidence":0.7,"triage":{"at":"2026-10-30T15:33:16Z","model":"claude-haiku-5-5","output":{"fix":"- DedeCMS: move to `5.7` or later (sources state versions before 5.7 are affected)","reach":"internet","title":"DedeCMS: unauthenticated file inclusion in carbuyaction.php exposes local files","impact":"medium","summary":"DedeCMS before 5.7 lets a remote, unauthenticated visitor control the path passed to require_once in plus/carbuyaction.php through the code parameter. Using ../../ sequences, an attacker can include and read arbitrary local files outside the payment directory.","audience":"businesses","category":"runtime","nicknames":[],"who_cares":["dedecms","self-hosted","php"],"confidence":0.7,"fix_status":"available","needs_auth":"no","worst_case":"Attacker reads arbitrary local server files via path traversal","analyst_note":"Confirm whether code execution is possible beyond file disclosure and the exact version boundary, from the NVD entry and vendor advisory.","how_to_check":"- Look for `plus/carbuyaction.php` in the DedeCMS install directory\n- Check the DedeCMS version in the admin panel or the version file; the sources do not give the exact version string to match\n- unknown","plain_action":"","needs_analyst":true,"not_affected_if":["dedecms-5.7-or-later","endpoint-blocked"],"who_is_affected":"Sites running DedeCMS older than 5.7 that expose the payment cart endpoint plus/carbuyaction.php to the internet. Sites on 5.7 or later, or with that file removed or blocked, are not affected according to the sources.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"unknown"},"cost_usd":0.000711,"input_tokens":4191,"output_tokens":584,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-10':122C '-18':123C '-2010':11A,14A '-20125':12A,15A '/..':44B,95C '2023':121C '5.7':24B,61C 'achiev':107C 'allow':70C 'arbitrari':52B,98C 'attack':47B,73C,89C 'carbuyaction.php':6A 'code':41B,83C 'contain':62C 'control':30B,75C 'cve':10A,13A 'dedecm':1A,16B,22B,59C 'directori':58B,105C 'disclosur':110C 'evid':112C 'exploit':111C 'expos':7A 'file':3A,9A,54B,64C,100C,109C 'first':114C 'foundat':119C 'host':21B 'includ':49B,77C,97C 'inclus':4A,65C 'intend':103C 'let':25B 'local':8A,53B,99C,108C 'manipul':80C 'observ':115C 'outsid':55B,101C 'paramet':42B,84C 'pass':33B,85C 'path':32B,78C,92C 'payment':57B,104C 'php':17B 'plus/carbuyaction.php':38B,68C 'potenti':106C 'read':51B 'remot':27B,71C 'requir':35B,87C 'runtim':18B 'self':20B 'self-host':19B 'sequenc':45B,94C 'shadowserv':118C 'suppli':91C 'travers':93C 'unauthent':2A,28B,72C 'uniniti':82C 'use':43B 'visitor':29B 'vulner':66C","nicknames":[],"mitigations":[],"who_affected":"Sites running DedeCMS older than 5.7 that expose the payment cart endpoint plus/carbuyaction.php to the internet. Sites on 5.7 or later, or with that file removed or blocked, are not affected according to the sources.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"first_public_at":"2026-10-30T15:16:43+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2010-20125","url":"https://nvd.nist.gov/vuln/detail/CVE-2010-20125","severity":null,"published_at":"2026-10-30T15:16:43+00:00","modified_at":"2026-10-30T15:16:43+00:00","first_seen_at":"2026-10-30T15:31:09+00:00","fetched_at":"2026-10-30T15:31:09+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}