-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix graphql vuln module metadata and add GitLab and Ivanti EPM CVE detection modules #1456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Phantom-Fort
wants to merge
6
commits into
OWASP:master
Choose a base branch
from
Phantom-Fort:fix/graphql-vuln-metadata
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 5 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
2c2a2ec
fix: correct graphql metadata and add gitlab CVE-2021-39935 detection…
Phantom-Fort b37d7a6
fix: correct gitlab CVE metadata and add ivanti epm CVE-2026-1603 det…
Phantom-Fort 87b4ebd
fix: update Ivanti EPM CVE-2026-1603 detection module and adjust seve…
Phantom-Fort 7ca1fd7
fix: update regex patterns in vulnerability detection modules for imp…
Phantom-Fort d075174
fix: update GraphQL introspection query and regex patterns for improv…
Phantom-Fort 55fc7b5
fix: add a more robust regex to graphql.yaml
Phantom-Fort File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,3 +31,4 @@ results.* | |
| coverage.xml | ||
|
|
||
| venv | ||
| report.html | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,96 @@ | ||
| info: | ||
| name: gitlab_cve_2021_39935_vuln | ||
| author: OWASP Nettacker Team | ||
| severity: 8 | ||
| description: Detects GitLab instances vulnerable to CVE-2021-39935, | ||
| an unauthenticated Server-Side Request Forgery vulnerability in the | ||
| CI Lint API endpoint. Affects GitLab CE and EE versions 10.5 through | ||
| 14.5.1. Detection first confirms the instance is running a vulnerable | ||
| version via the public version API, then verifies the CI Lint endpoint | ||
| is accessible without authentication. Added to CISA KEV catalog with | ||
| federal patch deadline of February 24 2026. | ||
| reference: | ||
| - https://nvd.nist.gov/vuln/detail/CVE-2021-39935 | ||
| - https://gitlab.com/gitlab-org/gitlab/-/issues/346569 | ||
| - https://www.cisa.gov/known-exploited-vulnerabilities-catalog | ||
| - https://about.gitlab.com/releases/2021/02/11/security-release-gitlab-13-8-4-released/ | ||
| profiles: | ||
| - vuln | ||
| - http | ||
| - high_severity | ||
| - cve2021 | ||
| - cve | ||
| - gitlab | ||
| - ssrf | ||
|
|
||
| payloads: | ||
| - library: http | ||
| steps: | ||
| - method: get | ||
| timeout: 3 | ||
| headers: | ||
| User-Agent: "{user_agent}" | ||
| allow_redirects: false | ||
| ssl: false | ||
| url: | ||
| nettacker_fuzzer: | ||
| input_format: "{{schema}}://{target}:{{ports}}/api/v4/version" | ||
| prefix: "" | ||
| suffix: "" | ||
| interceptors: | ||
| data: | ||
| schema: | ||
| - "http" | ||
| - "https" | ||
| ports: | ||
| - 80 | ||
| - 443 | ||
| - 8080 | ||
| - 8443 | ||
| response: | ||
| save_to_temp_events_only: gitlab_version_check | ||
| condition_type: and | ||
| conditions: | ||
| status_code: | ||
| regex: "200" | ||
| reverse: false | ||
| content: | ||
| regex: "\"version\":\"10\\.[5-9]\\.|\"version\":\"10\\.\\d{2,}\\.|\"version\":\"1[1-3]\\.|\"version\":\"14\\.[0-4]\\.|\"version\":\"14\\.5\\.0|\"version\":\"14\\.5\\.1" | ||
| reverse: false | ||
|
Phantom-Fort marked this conversation as resolved.
|
||
|
|
||
| - method: post | ||
| timeout: 3 | ||
| headers: | ||
| User-Agent: "{user_agent}" | ||
| Content-Type: "application/json" | ||
| allow_redirects: false | ||
| ssl: false | ||
| url: | ||
| nettacker_fuzzer: | ||
| input_format: "{{schema}}://{target}:{{ports}}/api/v4/ci/lint" | ||
| prefix: "" | ||
| suffix: "" | ||
| interceptors: | ||
| data: | ||
| schema: | ||
| - "http" | ||
| - "https" | ||
| ports: | ||
| - 80 | ||
| - 443 | ||
| - 8080 | ||
| - 8443 | ||
| json: | ||
| content: "stages: [test]" | ||
| dry_run: true | ||
| ref: "main" | ||
| response: | ||
| dependent_on_temp_event: gitlab_version_check | ||
| condition_type: and | ||
| conditions: | ||
| status_code: | ||
| regex: "200" | ||
| reverse: false | ||
| content: | ||
| regex: '"status"\s*:\s*"(valid|invalid)"|"errors"\s*:\s*\[' | ||
| reverse: false | ||
|
coderabbitai[bot] marked this conversation as resolved.
coderabbitai[bot] marked this conversation as resolved.
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| info: | ||
| name: ivanti_epm_cve_2026_1603 | ||
| author: OWASP Nettacker Team | ||
| severity: 8 | ||
| description: Detects Ivanti Endpoint Manager instances vulnerable to | ||
| CVE-2026-1603, an authentication bypass via alternate path (CWE-288) | ||
| affecting all EPM versions prior to 2024 SU5. A remote unauthenticated | ||
| attacker sends a crafted HTTP request containing the magic number 64 | ||
| to bypass authentication controls and leak stored credential data | ||
| including Domain Administrator password hashes and service account | ||
| credentials from the EPM Credential Vault. Added to CISA KEV catalog | ||
| with federal patch deadline of March 23 2026. | ||
| reference: | ||
| - https://nvd.nist.gov/vuln/detail/CVE-2026-1603 | ||
| - https://hub.ivanti.com/s/article/Security-Advisory-EPM-February-2026-for-EPM-2024 | ||
| - https://www.cisa.gov/known-exploited-vulnerabilities-catalog | ||
| - https://www.zerodayinitiative.com/advisories/ZDI-26-1603/ | ||
| profiles: | ||
| - vuln | ||
| - http | ||
| - high_severity | ||
| - cve2026 | ||
| - cve | ||
| - ivanti | ||
| - auth_bypass | ||
|
|
||
| payloads: | ||
| - library: http | ||
| steps: | ||
| - method: get | ||
| timeout: 3 | ||
| headers: | ||
| User-Agent: "{user_agent}" | ||
| X-Ivanti-Magic: "64" | ||
| allow_redirects: false | ||
| ssl: false | ||
| url: | ||
| nettacker_fuzzer: | ||
| input_format: "{{schema}}://{target}:{{ports}}/{{endpoint}}" | ||
| prefix: "" | ||
| suffix: "" | ||
| interceptors: | ||
| data: | ||
| schema: | ||
| - "http" | ||
| - "https" | ||
| ports: | ||
| - 80 | ||
| - 443 | ||
| - 8443 | ||
| endpoint: | ||
| - dms/portal | ||
| - dms/services/AuthenticationService | ||
| - dms/authenticate | ||
| response: | ||
| condition_type: and | ||
| conditions: | ||
| status_code: | ||
| regex: "200" | ||
| reverse: false | ||
| content: | ||
| regex: "Ivanti|EPM|LanDesk|credential|Endpoint\\.Manager" | ||
| reverse: false |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.