SSTImap Extra Plugins

May 21, 2026 · View on GitHub

SSTImap 1.3 Payload count Python 3.14 Python 3.6 GitHub GitHub last commit Maintenance

This repository contains SSTImap plugins, which might be useful in some specific cases, but are too situational to include in the main repository.

Installation:

  • Install the latest version of SSTImap.
  • Clone this repository inside plugins/ directory of SSTImap.

Alternatively, required plugins can be manually saved in plugins/custom/ directory of SSTImap.

List of supported plugins

PluginVer.RCETechCode evaluationType
CVE-2025-13021.2.3REBTJavaScriptCVE
CVE-2025-132041.2.3REBTJavaScriptCVE
CVE-2022-236141.2.3REBTPHPCVE
CVE-2024-63861.2.3REBTPHPCVE
CVE-2026-466401.2.3REBTPHPCVE
Smarty_old1.2.3REBTPHPold
Jinja2_old1.2.3REBTPHPold

Techniques: (R)endered, (E)rror-based, (B)oolean error-based blind and (T)ime-based blind; Lowercase letter marks partially supported technique

Plugin details

Plugin automates detection and exploitation of CVE-2025-1302 providing post-exploitation capabilities. This plugin can automatically detect many JSONpath injection contexts and more would be added in the future.

Plugin automates detection and exploitation of CVE-2025-13204 providing post-exploitation capabilities. Node.JS module expr-eval up to the latest version 2.0.2 is vulnerable to JavaScript eval injection.

  • CVE-2022-23614 - Sandbox bypass in Twig >=2.12 <2.14.11 and >=3.0 <3.3.8

Plugin automates detection and exploitation of CVE-2022-23614, bypassing sandbox in Twig using |sort filter with PHP functions.

  • CVE-2024-6386 - WPML Multilingual CMS Contributor+ RCE via Twig SSTI

Plugin automates detection and exploitation of CVE-2024-6386 providing post-exploitation capabilities. Correctly set headers X-WP-Nonce and Content-Type as well as cookies are required for exploitation. Example:

./sstimap.py -i -e CVE_2024_6386 --data-type json -m POST -H "Content-Type: application/json" -H "X-WP-Nonce: ..." -H "Cookie: ..." -d '{"id":...,"content":"*"}' -u "http://localhost/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F..."

Plugin automates detection and exploitation of CVE-2026-46640, bypassing sandbox in Twig using _self.("...") code injection.

  • Smarty_old - Smarty template engine prior to version 3.0 using {php}{/php} tags

  • Jinja2_old - Old long payloads for Jinja template engine

Developing plugins

New plugins are always welcome in PRs

Debugging tips

  • Use -e/--engine option with the name of the plugin's class, e.g. -e CVE_2024_6386 to use a specific plugin
  • Use -p/--proxy option with BurpSuite or a similar tool to see the requests, e.g. -p http://127.0.0.1:8080
  • Use interactive mode (-i/--interactive) to preserve settings between runs. Use run to run tests and reload to reload plugins from disk (e.g. after some changes)
  • Use --data-type fromhex to provide request body as hex-encoded string with * as injection marker, if body format is not supported otherwise, e.g. --data-type fromhex --data E29885C2AB*C2BBE29885

Example

  • Install the latest version of SSTImap
  • Copy CVE-2024-6386.py plugin to plugins/custom inside SSTImap directory
  • Run the following command:
./sstimap.py -i -e CVE-2024-6386 -p http://127.0.0.1:8080 --data-type json -m POST -H "Content-Type: application/json" -H "X-WP-Nonce: ..." -H "Cookie: ..." -d '{"id":...,"content":"*"}' -u "http://localhost/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F..."
  • Use run command to test the payload
  • Edit the payload, use commands reload and run