id: wp-responsive-fpd

info:
  name: WordPress Coming Soon Page - Full Path Disclosure
  author: DhiyaneshDk
  severity: low
  description: |
    WordPress Coming Soon Page & Maintenance Mode plugin files are publicly accessible without ABSPATH protection, exposing sensitive server path information through PHP error messages when accessed directly.
  reference:
    - https://wordpress.org/plugins/responsive-coming-soon/
  metadata:
    max-request: 1
    verified: true
    shodan-query: "/responsive-coming-soon/"
  tags: debug,wp,wp-plugin,wordpress,fpd,vuln,responsive-coming-soon

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/responsive-coming-soon/responsive-coming-soon.php"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "/plugins/responsive-coming-soon/")'
          - 'contains_all(body, "Fatal error", "Call to undefined function")'
        condition: and
# digest: 4a0a004730450220147b394322d9121a5b19d358d6fb47973b8ee14ca1df6c91d3bbea6e008152180221008811794e21cacc235fa7ab0692dbbb561324695d18af9d7105bba5fb044ac480:922c64590222798bb761d5b6d8e72950