.. / CVE-2017-7269

Exploit for Windows Server 2003 & IIS 6.0 - Remote Code Execution (CVE-2017-7269)

Description:

Internet Information Services (IIS) 6.0 in Microsoft Windows Server 2003 R2 contains a buffer overflow vulnerability in the ScStoragePathFromUrl function in the WebDAV service that could allow remote attackers to execute arbitrary code via a long header beginning with “If <http://” in a PROPFIND request.

Proof of Concept

PoC exploit

Nuclei Template

View the template here CVE-2017-7269.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2017/CVE-2017-7269.yaml
Copy

Try the exploit in a lab environment:

Lab Machine Link
Hack The Box Granny Go to Practice
Hack The Box Grandpa Go to Practice

References:

https://nvd.nist.gov/vuln/detail/CVE-2017-7269
http://www.securitytracker.com/id/1038168
https://github.com/danigargu/explodingcan/blob/master/explodingcan.py
https://blog.0patch.com/2017/03/0patching-immortal-cve-2017-7269.html