New module for CVE 2026 27176 - #1599
Conversation
create pr
Document all modules ( fix OWASP#1269 ) (OWASP#1270)
Signed-off-by: Aarush <cs24b064@smail.iitm.ac.in>
Removed entry for FortiWeb authentication bypass vulnerability. Signed-off-by: Aarush <cs24b064@smail.iitm.ac.in>
Signed-off-by: Aarush <cs24b064@smail.iitm.ac.in>
Signed-off-by: Aarush <cs24b064@smail.iitm.ac.in>
Merge new changes
Merge new modules
Pull the changes
merge the changes
Add the new changes
MERGE NEW changes
Merge changes
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Summary by CodeRabbit
WalkthroughAdds a Nettacker vulnerability module for MajorDoMo reflected XSS (CVE-2026-27176). It probes ChangesMajorDoMo XSS CVE-2026-27176 Module
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@nettacker/modules/vuln/majordomo_xss_cve_2026_27176.yaml`:
- Line 55: In the regex pattern for the reflected-XSS vulnerability check, the
parentheses in the payload string `alert(document.domain)` are being interpreted
as regex metacharacters rather than literal characters. Escape these parentheses
by adding backslashes before the opening parenthesis of `alert(` and the closing
parenthesis after `domain` so that the regex treats them as literal characters
to match in the response, ensuring the vulnerability detection does not miss
vulnerable payloads.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: f1cd7362-7408-4d53-99dd-1ed274906b11
📒 Files selected for processing (2)
docs/Modules.mdnettacker/modules/vuln/majordomo_xss_cve_2026_27176.yaml
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@Aarush289 please test the module properly and validate the regex - my tests against the vulnerable server are failing(this module is not detecting the XSS which is definitely there). Please also consider working on another CVE in the same software CVE-2026-27174 (RCE) |
|
@codex review this PR using skill: https://github.com/nettacker-codex-ai/skills/blob/main/pr-review-recommender/SKILL.md |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3a274793eb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| regex: | | ||
| (?s)(?=.*Command:)(?=.*\">\x3Cimg src=x onerror=alert\(document\.domain\)\x3E) |
There was a problem hiding this comment.
Strip the block-scalar newline from the matcher
When MajorDoMo returns the vulnerable response without a newline preceding both Command: and the reflected payload—for example, a single-line/minified page—this condition never matches. YAML's | preserves a trailing \n, so the lookaheads remain zero-width and the regex additionally requires a newline at the current match position; use |- or a quoted scalar so detection depends only on the two intended markers.
Useful? React with 👍 / 👎.
Signed-off-by: Aarush <cs24b064@smail.iitm.ac.in>
Proposed change
Adds a Nettacker module for detecting CVE-2026-27176 in affected targets
Fixes #1568
Tested against local server

Type of change
Checklist
make pre-commitand confirm it didn't generate any warnings/changesmake testand I confirm all tests passed locallydocs/folder