.. / CVE-2022-0870

Exploit for Gogs <0.12.5 - Server-Side Request Forgery (CVE-2022-0870)

Description:

Gogs GitHub repository before 0.12.5 is susceptible to server-side request forgery. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.

Nuclei Template

View the template here CVE-2022-0870.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2022/CVE-2022-0870.yaml
Copy

References:

https://github.com/gogs/gogs/commit/91f2cde5e95f146bfe4765e837e7282df6c7cabb
https://huntr.dev/bounties/327797d7-ae41-498f-9bff-cc0bf98cf531
https://nvd.nist.gov/vuln/detail/CVE-2022-0870
https://github.com/cokeBeer/go-cves
https://github.com/michaellrowley/michaellrowley