HexBrain

Browse / CVEs / CVE-2023-40600

CVE-2023-40600

EWWW Image Optimizer <= 7.2.0 - Unauthenticated Information Disclosure

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

The EWWW Image Optimizer plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 7.2.0 via the debug_log function. This makes it possible for unauthenticated attackers to extract sensitive debug data when debug logging is enabled.

Impact

Attackers can access sensitive embedded data, potentially leading to information disclosure and further exploitation.

Fix

Remove debug information and update to the latest version of EWWW Image Optimizer.

How to confirm it

Send: GET {{BaseURL}}/wp-content/ewww/debug.log
Positive when: status_code == 200 and contains_all(body, "ewww_image_optimizer","__construct()")

Run it with nuclei: nuclei -id CVE-2023-40600 -u <target>

The full check
id: CVE-2023-40600

info:
  name: EWWW Image Optimizer <= 7.2.0 - Unauthenticated Information Disclosure
  author: Shivam Kamboj
  severity: medium
  description: |
    The EWWW Image Optimizer plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 7.2.0 via the debug_log function. This makes it possible for unauthenticated attackers to extract sensitive debug data when debug logging is enabled.
  impact:
    Attackers can access sensitive embedded data, potentially leading to information disclosure and further exploitation.
  remediation:
    Remove debug information and update to the latest version of EWWW Image Optimizer.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2023-40600
    - https://patchstack.com/database/wordpress/plugin/ewww-image-optimizer/vulnerability/wordpress-ewww-image-optimizer-plugin-7-2-0-sensitive-data-exposure-vulnerability
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/ewww-image-optimizer/ewww-image-optimizer-720-unauthenticated-sensitive-information-exposure-via-debug-log
  metadata:
    verified: true
    max-request: 1
  tags: cve,cve2023,wp,wordpress,wp-plugin,ewww-image-optimizer,vkev

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/ewww/debug.log"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "ewww_image_optimizer","__construct()")'
        condition: and

References

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