NewsCrawler.org

Sign2Shell: Five Brazilian Digital Signing Extensions Let Websites Run Code on Windows PCs

Sign2Shell: Five Brazilian Digital Signing Extensions Let Websites Run Code on Windows PCs
Lacuna Web PKI: a normal-looking page drops a DLL and loads it. Page load to code execution in around 1.3 seconds, no click and no smartcard.
Certisign CertiPlugin: a page on an $8 `.one` domain serves a PE as `cert_icon.png` and loads it. No smartcard, just a visit.
Report-to-patch waterfall: days from our first report to the shipped fix for each of the five extensions.
Image: Reddit

Researchers describe a bug class they call Sign2Shell, found in the five most-installed digital signing browser extensions in Brazil: Lacuna Web PKI, Softplan Web Signer, Certisign WebSigner, Certisign CertiPlugin and BRy Assinatura Digital. Together they have about 10 million installs, and Brazilians use them for tax invoices, court filings and prescriptions. The authors say each extension allows a drive-by remote code execution (RCE)[1] on Windows, with a CVSS 3.1 score of 9.6.

The shared mistake is that the website chooses which dynamic link library (DLL)[2] the vendor's native host program loads, and the software never checks the signature of the code it loads. On Lacuna Web PKI and Certisign WebSigner, a malicious page or an iframe[3] was enough, with no click. On Softplan Web Signer, opening a link was enough, and on CertiPlugin and BRy, visiting the page was enough. Four vendors have shipped fixes; CertiPlugin is mitigated but not fixed, and Lacuna's first Web PKI patch, version 2.17.5, is still vulnerable.

Lacuna Web PKI and Certisign WebSigner are near-identical white-label versions of one product, so the authors handled them the same way. The attack takes two steps: first a file is downloaded to C:\Windows\Temp, then the DLL is loaded. In Chrome this took about 1.3 seconds, and no smartcard was needed.

Read the original amibeingpwned.comDiscussion

Sources

Published: First seen: Читать по-русски

Open as a page