OWASP / OWASP/Nettacker

[Feature Request] Support for Variable Persistence (Outputs) in YAML Modules

Open
#1,436 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5.6k
Forks
1.2k
Avg merge
1d 21h
Merged PRs (30d)
16

Description

Currently, the Nettacker YAML engine is "stateless" during multi-step scans. While modules can define multiple steps, there is no mechanism to extract a value from the response of Step 1 (e.g., a Session Cookie, CSRF Token, or UID) and use it in the request of Step 2.

This limitation prevents the implementation of complex exploit chains (like CVE-2025-47812) where a secondary request is required to confirm or trigger RCE using data from an initial authentication/injection step.

Proposed Enhancement

  • Implement a session_vars dictionary within the Module execution flow.
  • Add support for an outputs block in YAML steps that uses regex to capture data from headers or the response body.
  • Implement placeholder replacement (e.g., {variable_name}) in url, headers, and data fields for subsequent steps.

I am happy to work on this and am currently developing a solution but if anybody would like to help contribute I am open to suggestions for better methods

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the YAML engine's module execution flow and how multi-step requests currently process URLs, headers, data, and responses. Define how session_vars, regex-based outputs from headers or response bodies, and {variable_name} substitution should interact across steps; done means later steps can consume captured values for chained requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.