HexBrain

Browse / CVEs / CVE-2024-32825

CVE-2024-32825

Simply Static - Information Disclosure

mediumseverity
2%likelihood of exploitation, next 30 days
81%of all CVEs are less likely
Readycheck to confirm it

Patrick Posner Simply Static versions up to 3.1.3 contain a vulnerability for insertion of sensitive information into log files caused by improper handling of log data, letting attackers potentially access sensitive information, exploit requires no specific privileges.

Impact

Attackers can access sensitive information stored in log files, leading to information disclosure.

Fix

Update to the latest version of Simply Static that addresses this issue, or apply available patches.

How to confirm it

Send: GET {{BaseURL}}/wp-content/uploads/simply-static/
Positive when: status_code == 200 and contains_all(body, "Index of", "debug.txt")
Send: GET {{BaseURL}}/wp-content/uploads/simply-static/{{debug_file}}
Positive when: contains(body, ".php") and status_code == 200

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

The full check
id: CVE-2024-32825

info:
  name: Simply Static - Information Disclosure
  author: pussycat0x
  severity: medium
  description: |
    Patrick Posner Simply Static versions up to 3.1.3 contain a vulnerability for insertion of sensitive information into log files caused by improper handling of log data, letting attackers potentially access sensitive information, exploit requires no specific privileges.
  impact: |
    Attackers can access sensitive information stored in log files, leading to information disclosure.
  remediation:
    Update to the latest version of Simply Static that addresses this issue, or apply available patches.
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/simply-static/simply-static-313-unauthenticated-information-exposure
    - https://www.cve.org/CVERecord?id=CVE-2024-32825
    - https://plugins.trac.wordpress.org/changeset/3025775/simply-static
  metadata:
    verified: true
    publicwww-query: "/wp-content/plugins/simply-static/"
  tags: cve,cve2024,wordpress,wp-plugin,simply-static

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/uploads/simply-static/"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "Index of", "debug.txt")'
        condition: and
        internal: true

    extractors:
      - type: regex
        name: debug_file
        regex:
          - '([0-9a-z]+)\-debug\.txt'
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/wp-content/uploads/simply-static/{{debug_file}}"

    matchers:
      - type: dsl
        dsl:
          - 'contains(body, ".php")'
          - 'status_code == 200'
        condition: and

References

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