Sign2Shell: RCE in digital signature extensions
Attack Techniques & Methods2026-11-26, 13:34
Researcher James Arnott of Bay Area Labs published an analysis of Sign2Shell — a series of remote code execution vulnerabilities affecting five popular digital signing browser extensions in Brazil. The affected products are Lacuna Web PKI, Softplan Web Signer, Certisign WebSigner, Certisign CertiPlugin, and BRy Assinatura Digital, with approximately 10.18 million installations across Chrome, Edge, and Firefox.
Exploitation requires only visiting a malicious webpage on Windows with a vulnerable extension and its native application installed. For Lacuna Web PKI and Certisign WebSigner, the attack can even be delivered through an iframe, such as an advertisement, without additional user interaction.
The root cause is insufficient validation of attacker-controlled DLL paths passed from browser extensions to native applications through Native Messaging. The extensions forward website requests to a native host running outside the browser sandbox with the user's privileges. The host can load PKCS#11 libraries for smart cards and USB tokens. In all five products, a web page could control the path to the DLL loaded through
LoadLibrary or LoadLibraryEx. The vulnerable versions did not validate the DLL path, file extension, or Authenticode signature. As a result, a malicious PE file could be loaded as a DLL even when disguised as a .png, .pdf, or .txt file.For example, Lacuna Web PKI and Certisign WebSigner could chain
DownloadToFolder with listTokens → LoadLibraryEx(), executing attacker-controlled code through DllMain.Four extensions have been fixed, while Certisign CertiPlugin 1.15.1 received only a partial mitigation: the underlying arbitrary DLL-loading issue remains.
Vendors
Products