Goby/json/Gitlab-CI-Lint-API-SSRF-(CV...

74 lines
2.1 KiB
JSON

{
"Name": "Gitlab CI Lint API SSRF (CVE-2021-22214)",
"Description": "When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab CE/EE affecting all versions starting from 10.5 was possible to exploit for an unauthenticated attacker even on a GitLab instance where registration is limited",
"Product": "GitLab",
"Homepage": "https://about.gitlab.com/",
"DisclosureDate": "2021-06-17",
"Author": "gobysec@gmail.com",
"GobyQuery": "app=\"GitLab\"",
"Level": "2",
"Impact": "<p>As a result, hackers can use this vulnerability as a springboard to access or attack the internal system<br></p>",
"Recommendation": "<p>1.The request port can only be web port, and only HTTP and HTTPS requests can be accessed.</p><p>2.Restrict the IP that can't access intranet to prevent attacking intranet.</p><p>3.Mask the returned details.</p><p>4. Upgrade to the latest version.</p>",
"References": [
"https://vin01.github.io/piptagole/gitlab/ssrf/security/2021/06/15/gitlab-ssrf.html"
],
"HasExp": true,
"ExpParams": [
{
"name": "cmd",
"type": "input",
"value": "http://127.0.0.1:9090"
}
],
"ExpTips": {
"Type": "",
"Content": ""
},
"ScanSteps": [
"AND",
{
"Request": {
"method": "GET",
"uri": "/test.php",
"follow_redirect": true,
"header": {},
"data_type": "text",
"data": ""
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "test",
"bz": ""
}
]
},
"SetVariable": []
}
],
"ExploitSteps": null,
"Tags": [
"SSRF"
],
"CVEIDs": ["CVE-2021-22214"],
"CVSSScore": "0.0",
"AttackSurfaces": {
"Application": null,
"Support": null,
"Service": null,
"System": null,
"Hardware": null
}
}