Monday, November 11, 2024
HomeCVE/vulnerabilityUniversal Code Execution Vulnerability In Browsers Puts Millions Of Users At Risk

Universal Code Execution Vulnerability In Browsers Puts Millions Of Users At Risk

Published on

Malware protection

Hackers remotely execute malicious code on a compromised device or server by exploiting the Universal Code Execution vulnerability.

Through this vulnerability, threat actors can inject codes into server-side interpreter languages such as Java, Python, and PHP.

Hacking into this security flaw can steal information, divert money to other accounts, perform surveillance, and even severely affect some organizations.

- Advertisement - SIEM as a Service

Cybersecurity analyst Eugene Lim at SpaceRaccoon recently discovered that millions of users are at risk due to the Unniversal Code Execution.

Universal Code Execution Vulnerability

Chaining messaging APIs in browsers and extensions allows hackers to exploit the Universal Code Execution Vulnerability, breaking the Same Origin Policy as well as the browser sandbox.

Join our free webinar to learn about combating slow DDoS attacks, a major threat today.

Attackers can use content scripts and background script vulnerabilities to execute malicious code across any webpage potentially.

The study unveils two new vulnerabilities affecting millions of users and proposes a way for extensive detection of such vulnerabilities using dataset queries and static code analysis.

Browser extension design is vulnerable, and malicious web pages can evade the Same Origin Policy. 

In other words, content scripts injected with wildcard patterns and taking advantage of the trust between background scripts and content can steal sensitive information from third-party websites.

Browser extension message chain (Source – Spaceraccoon)

For instance, “Extension A” injects scripts on all pages though it is supposed to be for one site only, moreover, it requests access to cookies from various origins.

For this reason, this vulnerability allows an attacker to obtain session cookies from whitelisted domains, leading to the breaking of same-origin policy and ultimately compromising user security on these websites.

This research is about how browser extensions can achieve “universal code execution” by chaining different messaging APIs.

The attack vector combines content scripts with wildcard characters, background scripts, and native messaging capabilities.

Exploiting weaknesses within this chain allows attackers to bypass the Same Origin Policy and execute malicious code on the host system.

The study targets high-profile extensions, especially those involving PKI (Public Key Infrastructure) smart card functions.

Researchers found vulnerable extensions through a combination of dataset queries and static code analysis, one of which had 2 million users, allowing arbitrary loading of DLLs.

This highlights the need for better security processes during browser extension development and implementation, especially when dealing with native messaging capabilities.

"Is Your System Under Attack? Try Cynet XDR: Automated Detection & Response for Endpoints, Networks, & Users!"- Free Demo

Tushar Subhra
Tushar Subhra
Tushar is a Cyber security content editor with a passion for creating captivating and informative content. With years of experience under his belt in Cyber Security, he is covering Cyber Security News, technology and other news.

Latest articles

Sweet Security Announces Availability of its Cloud Native Detection & Response Platform on the AWS Marketplace

Customers can now easily integrate Sweet’s runtime detection and response platform into their AWS...

Researchers Detailed Credential Abuse Cycle

Cybercriminals exploit leaked credentials, obtained through various means, to compromise systems and data, enabling...

New Android Malware SpyAgent Taking Screenshots Of User’s Devices

SpyAgent, a newly discovered Android malware, leverages OCR technology to extract cryptocurrency recovery phrases...

Tor Network Suffers IP Spoofing Attack Via Non-Exit Relays

In late October 2024, a coordinated IP spoofing attack targeted the Tor network, prompting...

Free Webinar

Protect Websites & APIs from Malware Attack

Malware targeting customer-facing websites and API applications poses significant risks, including compliance violations, defacements, and even blacklisting.

Join us for an insightful webinar featuring Vivek Gopalan, VP of Products at Indusface, as he shares effective strategies for safeguarding websites and APIs against malware.

Discussion points

Scan DOM, internal links, and JavaScript libraries for hidden malware.
Detect website defacements in real time.
Protect your brand by monitoring for potential blacklisting.
Prevent malware from infiltrating your server and cloud infrastructure.

More like this

Researchers Detailed Credential Abuse Cycle

Cybercriminals exploit leaked credentials, obtained through various means, to compromise systems and data, enabling...

New Android Malware SpyAgent Taking Screenshots Of User’s Devices

SpyAgent, a newly discovered Android malware, leverages OCR technology to extract cryptocurrency recovery phrases...

Tor Network Suffers IP Spoofing Attack Via Non-Exit Relays

In late October 2024, a coordinated IP spoofing attack targeted the Tor network, prompting...