HexBrain

Browse / CVEs / CVE-2024-23055

CVE-2024-23055· CWE-79

Plone Docker - Host Header Injection

mediumseverity
6.1CVSS score
0.9%likelihood of exploitation, next 30 days
61%of all CVEs are less likely
Readycheck to confirm it

Plone Docker Official Image 5.2.13 (5221) is vulnerable to Host Header Injection due to improper validation of input by the HOST headers. This can lead to Cross-Site Scripting (XSS) attacks when the malicious Host header value is reflected in the response.

Impact

Remote attackers can execute arbitrary code on the server, potentially leading to full system compromise.

Fix

Update to the latest version of Plone Docker or apply security patches addressing HOST header validation.

How to confirm it

Send: GET /
Positive when: contains "{{randstr}}.tld" and "PORTAL_URL" AND contains in header "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2024-23055 -u <target>

The full check
id: CVE-2024-23055

info:
  name: Plone Docker - Host Header Injection
  author: theamanrawat
  severity: medium
  description: |
    Plone Docker Official Image 5.2.13 (5221) is vulnerable to Host Header Injection due to improper validation of input by the HOST headers. This can lead to Cross-Site Scripting (XSS) attacks when the malicious Host header value is reflected in the response.
  impact: |
    Remote attackers can execute arbitrary code on the server, potentially leading to full system compromise.
  remediation: |
    Update to the latest version of Plone Docker or apply security patches addressing HOST header validation.
  reference:
    - https://github.com/c0d3x27/CVEs/tree/main/CVE-2024-23055
    - https://github.com/advisories/GHSA-fpqg-fv5v-vhpr
    - https://nvd.nist.gov/vuln/detail/CVE-2024-23055
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2024-23055
    epss-score: 0.00918
    epss-percentile: 0.6055
    cwe-id: CWE-79
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.component:"Plone"
  tags: cve,cve2024,plone,xss,host-header,injection,vuln

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{randstr}}.tld

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '{{randstr}}.tld'
          - 'PORTAL_URL'
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200

References

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