Skip to content
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

CVE-2021-22175 - Server-Side Request Forgery in GitLab Webhooks #11182

Closed
1 task done
princechaddha opened this issue Nov 11, 2024 · 8 comments
Closed
1 task done

CVE-2021-22175 - Server-Side Request Forgery in GitLab Webhooks #11182

princechaddha opened this issue Nov 11, 2024 · 8 comments
Assignees
Labels
💎 Bounty template-requests Request for new Nuclei templates to be created

Comments

@princechaddha
Copy link
Member

princechaddha commented Nov 11, 2024

Is there an existing template for this?

  • I have searched the existing templates.

Template requests

Template Request

Title: CVE-2021-22175 - Server-Side Request Forgery in GitLab Webhooks

Description:
GitLab versions starting from 10.5 contain a server-side request forgery (SSRF) vulnerability that could be exploited by an unauthenticated attacker to send requests to the internal network. This vulnerability occurs in the webhook functionality of GitLab, even on instances where user registration is disabled, allowing potential unauthorized access to internal services.

Severity:
Critical (CVSS: 9.8, Vector: [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H])

EPSS:

  • Score: 0.00845
  • Percentile: 0.82644

PoCs:

  • No PoCs available

References:

Patch URLs:

  • No patch URLs available

Nuclei Templates:

  • No Nuclei templates available

Weaknesses:

  • CWE-918: Server-Side Request Forgery (SSRF)

Shodan:

  • Count: 107466
  • Title: “GitLab”
  • CPE: “cpe:2.3:a:gitlab:gitlab”

Vulnerable CPE:

  • cpe:2.3:a:gitlab:gitlab:::::community:::*
  • cpe:2.3:a:gitlab:gitlab:::::enterprise:::*

OSS:

  • No OSS information available

Anything else?

No response

@princechaddha princechaddha added the template-requests Request for new Nuclei templates to be created label Nov 11, 2024
@princechaddha
Copy link
Member Author

/bounty $100

Copy link

algora-pbc bot commented Nov 11, 2024

💎 $100 bounty • ProjectDiscovery Bounty Available for CVE Template Contribution

Steps to Contribute:

  • Claim attempt: Comment /attempt #11182 on this issue to claim attempt.
  • Write the Template: Create a high-quality Nuclei template for the specified CVE, following our Contribution Guidelines and Acceptance Criteria.
  • Submit the Template: Open a pull request (PR) to projectdiscovery/nuclei-templates and include /claim #11182 in the PR body to claim the bounty.
  • Receive Payment: Upon successful merge of your PR, you will receive 100% of the bounty through Algora.io within 2-5 days. Ensure you are eligible for payouts.

Thank you for contributing to projectdiscovery/nuclei-templates and helping us democratize security!

Acceptance Criteria: The template must include a complete POC and should not rely solely on version-based detection. Contributors are required to provide debug data(-debug) along with the template to help the triage team with validation. Rewards will only be given once the template is fully validated by the team. Templates that are incomplete or invalid will not be accepted. Avoid adding code templates for CVEs that can be achieved using HTTP, TCP, or JavaScript. Such templates are blocked by default and won’t produce results, so we prioritize creating templates with other protocols unless exceptions are made.
You can check the FAQ for the Nuclei Templates Community Rewards Program here.

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🔴 @CodeStuffBreakThings Nov 11, 2024, 5:32:05 PM WIP

@CodeStuffBreakThings
Copy link

CodeStuffBreakThings commented Nov 11, 2024

/attempt #11182

@ehsandeep
Copy link
Member

is it duplicate of CVE-2021-22214?

@CodeStuffBreakThings
Copy link

Ahh, yeah it looks it

@CodeStuffBreakThings
Copy link

@princechaddha I understand if the bounty is removed as it turns out a detection template already exists at http/cves/2021/CVE-2021-22214.yaml that also applies to CVE-2021-22175

@princechaddha
Copy link
Member Author

@CodeStuffBreakThings, I will go ahead and close this issue since the CVE was added after I validated using cvemap to check if the CVE has a template. Good luck with the other open issue up for reward. Thanks.

@projectdiscovery projectdiscovery deleted a comment from algora-pbc bot Nov 16, 2024
Copy link

algora-pbc bot commented Nov 19, 2024

The bounty is up for grabs! Everyone is welcome to /attempt #11182 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💎 Bounty template-requests Request for new Nuclei templates to be created
Projects
None yet
Development

No branches or pull requests

4 participants