Nettacker icon indicating copy to clipboard operation
Nettacker copied to clipboard

New module for CVE 2026 27176

Open Aarush289 opened this issue 5 months ago โ€ข 1 comments

Proposed change

Adds a Nettacker module for detecting CVE-2026-27176 in affected targets Fixes #1568

Tested against local server image

Type of change

  • [ ] New core framework functionality
  • [ ] Bugfix (non-breaking change that fixes an issue)
  • [ ] Code refactoring without any functionality changes
  • [x] New or existing module/payload change
  • [ ] Documentation/localization improvement
  • [ ] Test coverage improvement
  • [ ] Dependency upgrade
  • [ ] Other improvement (best practice, cleanup, optimization, etc)

Checklist

  • [x] I've followed the contributing guidelines
  • [x] I've digitally signed all my commits in this PR
  • [x] I've run make pre-commit and confirm it didn't generate any warnings/changes
  • [x] I've run make test and I confirm all tests passed locally
  • [x] I've added/updated any relevant documentation in the docs/ folder
  • [x] I've linked this PR with an open issue
  • [x] I've tested and verified that my code works as intended and resolves the issue as described
  • [x] I've attached screenshots demonstrating that my code works as intended (if applicable)
  • [x] I've checked all other open PRs to avoid submitting duplicate work
  • [x] I confirm that the code and comments in this PR are not direct unreviewed outputs of AI
  • [x] I confirm that I am the Sole Responsible Author for every line of code, comment, and design decision

Aarush289 avatar Jun 23 '26 15:06 Aarush289

Review Change Stack

[!NOTE]

Reviews paused

It 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 reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • [ ] โ–ถ๏ธ Resume reviews
  • [ ] ๐Ÿ” Trigger review

No actionable comments were generated in the recent review. ๐ŸŽ‰

โ„น๏ธ Recent review info
โš™๏ธ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: c2a79233-d2fc-4ead-aa93-5c549bad1af1

๐Ÿ“ฅ Commits

Reviewing files that changed from the base of the PR and between 3a274793eb0f55775a100506a6af2068e4cff12f and 580c7978baac81d8c6f470c5c4b2b4d38a4e1574.

๐Ÿ“’ Files selected for processing (1)
  • docs/Modules.md
๐Ÿšง Files skipped from review as they are similar to previous changes (1)
  • docs/Modules.md

Summary by CodeRabbit

  • New Features
    • Added a new vulnerability check for a reflected cross-site scripting issue targeting Majordomo-related endpoints.
    • Updated the modules documentation to include the new vulnerability test entry.

Walkthrough

Adds a Nettacker vulnerability module for MajorDoMo reflected XSS (CVE-2026-27176). It probes command.php with a crafted qry parameter, validates the reflected payload, and registers the module in docs/Modules.md.

Changes

MajorDoMo XSS CVE-2026-27176 Module

Layer / File(s) Summary
Vulnerability definition and module registration
nettacker/modules/vuln/majordomo_xss_cve_2026_27176.yaml, docs/Modules.md
Defines the HTTP GET probe, payload, response validation rules, and vulnerability metadata, then adds the module to the Vuln Modules documentation list.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested labels: new module

Suggested reviewers: arkid15r, securestep9

๐Ÿšฅ Pre-merge checks | โœ… 5
โœ… Passed checks (5 passed)
Check name Status Explanation
Title check โœ… Passed The title clearly states the main change: a new module for CVE-2026-27176.
Description check โœ… Passed The description matches the changeset and links the new module to issue #1568.
Linked Issues check โœ… Passed The module implements detection for the reflected XSS in command.php as requested by #1568.
Out of Scope Changes check โœ… Passed Only the module and its docs were changed, which align with the issue scope.
Docstring Coverage โœ… Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
โœจ Finishing Touches
๐Ÿงช Generate unit tests (beta)
  • [ ] Create PR with unit tests

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.

โค๏ธ Share

Comment @coderabbitai help to get the list of available commands.

coderabbitai[bot] avatar Jun 23 '26 15:06 coderabbitai[bot]

@coderabbitai review

securestep9 avatar Jun 25 '26 11:06 securestep9

โœ… Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

coderabbitai[bot] avatar Jun 25 '26 11:06 coderabbitai[bot]

@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)

securestep9 avatar Jun 25 '26 21:06 securestep9

@codex review this PR using skill: https://github.com/nettacker-codex-ai/skills/blob/main/pr-review-recommender/SKILL.md

securestep9 avatar Jul 25 '26 18:07 securestep9