Lucene search
K

Avast Antivirus X.509 Error Rendering Command Execution Exploit

🗓️ 02 Oct 2015 00:00:00Reported by Google Security ResearchType 
zdt
 zdt
🔗 0day.today👁 25 Views

X.509 Certificate Rendering Command Execution Exploi

Code
Source: https://code.google.com/p/google-security-research/issues/detail?id=546
 
Avast will render the commonName of X.509 certificates into an HTMLLayout frame when your MITM proxy detects a bad signature. Unbelievably, this means CN="<h1>really?!?!?</h1>" actually works, and is pretty simple to convert into remote code execution.
 
To verify this bug, I've attached a demo certificate for you. Please find attached key.pem, cert.pem and cert.der. Run this command to serve it from a machine with openssl:
 
$ sudo openssl s_server -key key.pem -cert cert.pem -accept 443
 
Then visit that https server from a machine with Avast installed. Click the message that appears to demonstrate launching calc.exe.
 
Proof of Concept:
https://github.com/offensive-security/exploit-database-bin-sploits/raw/master/sploits/38384.zip

#  0day.today [2018-01-08]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation