---
id: CVE-2010-20125
title: DedeCMS < 5.7 File Inclusion via plus/carbuyaction.php
summary: >-
  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. Attacke…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-98
vendor: DedeCMS
product: DedeCMS
affected:
  - DedeCMS < 5.7
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-30T15:47:47.287303Z'
exploitAvailable: true
published: '2026-10-30'
updated: '2026-10-30'
sourceUpdated: '2026-10-30T15:47:58.288Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2010-20125'
references:
  - url: 'https://www.cnblogs.com/milantgh/p/3615986.html'
    label: CNBlogs Entry
  - url: >-
      https://web.archive.org/web/20100630011301/https://www.myhack58.com/Article/html/3/62/2010/27387.htm
    label: Initial Disclosure
  - url: >-
      https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/dedecms/dedecms-carbuyaction-fileinclude.yaml
    label: Nuclei Template
  - url: 'https://github.com/dedecms/DedeCMS/releases/tag/v5.7'
    label: Patched Release Tag
  - url: 'https://github.com/dedecms/DedeCMS/blob/v5.6/plus/carbuyaction.php'
    label: Vulnerable Code
  - url: >-
      https://www.vulncheck.com/advisories/dedecms-file-inclusion-via-plus-carbuyaction-php
    label: 'VulnCheck Advisory: DedeCMS < 5.7 File Inclusion via plus/carbuyaction.php'
tags:
  - cve.org
  - exploit-available
epss: 0.00553
epssPercentile: 0.46287
ingestedAt: '2026-11-05T16:07:30.474Z'
---

## Overview

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.

## Affected

- `DedeCMS < 5.7`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
