New Vulnerability module for CVE_2025_55169 ( WeGIA - Directory Traversal ) - #1228
New Vulnerability module for CVE_2025_55169 ( WeGIA - Directory Traversal )#1228Aarush289 wants to merge 8 commits into
Conversation
|
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:
WalkthroughAdds a WeGIA CVE-2025-55169 vulnerability definition for directory traversal through ChangesWeGIA vulnerability 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
🤖 Fix all issues with AI agents
In `@docs/Modules.md`:
- Line 165: Update the module list entry for '**wegia_cve_2025_55169_vuln**' to
add the missing space before the dash and correct the product casing to "WeGIA"
(matching the product name) so the line reads with proper spacing and casing;
locate the entry containing '**wegia_cve_2025_55169_vuln**' in the Modules list
and adjust the text around the dash and product name accordingly.
🧹 Nitpick comments (1)
nettacker/modules/vuln/wegia_cve_2025_55169.yaml (1)
33-45: Verify traversal target path matches WeGIA’s default install layout.The payload assumes
../../../www/html/wegia/config.php. If the advisory/PoC uses a different path (common for/var/www/html/wegiainstalls), this module could miss vulnerable targets. Please confirm against the advisory and consider trying multiple candidate paths.💡 Possible multi-path fuzzer variant
- input_format: "{{schema}}://{target}:{{ports}}/html/socio/sistema/download_remessa.php?file=../../../www/html/wegia/config.php" + input_format: "{{schema}}://{target}:{{ports}}/html/socio/sistema/download_remessa.php?file={{file_path}}" prefix: "" suffix: "" interceptors: data: schema: - "http" - "https" ports: - 80 - 443 + file_path: + - "../../../config.php" + - "../../../www/html/wegia/config.php" + - "../../../../config.php"
Signed-off-by: Aarush <cs24b064@smail.iitm.ac.in>
|
Hi @securestep9 , Can you please review the module whenever possible . |
|
@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: 7a607a0910
ℹ️ 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".
| @@ -0,0 +1,54 @@ | |||
| info: | |||
There was a problem hiding this comment.
Sign the commit before merging
The reviewed commit has no gpgsig header, and git verify-commit cc702b0bf46386fb0d4586a87b4e3414b5fe0655 fails, so merging it would violate the repository requirement that every commit be signed. Recreate this commit with an accepted signing key before merge.
AGENTS.md reference: AGENTS.md:L33-L35
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
all commits are signed


Proposed change
This PR adds a new vulnerability detection module for CVE-2025-55169, affecting WeGIA versions prior to 3.4.8.
The vulnerability is a directory traversal (LFI) issue in the
download_remessa.phpendpoint, which allows an unauthenticated attacker to read arbitrary files on the server, including sensitive configuration files such asconfig.phpcontaining database credentials.The module performs an HTTP GET request with a crafted path traversal payload and determines vulnerability based on the presence of sensitive configuration markers in the response.
Type of change
Checklist
make pre-commitand it didn’t generate any changesmake testand all tests passed locallyAdditional notes