Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

ALPACA: New TLS Attack Allows User Data Extraction, Code Execution

Researchers from three universities in Germany have identified a new TLS attack method that can allow a man-in-the-middle (MitM) attacker to extract user data or execute arbitrary code.

The new attack, dubbed ALPACA, has been described as an “application layer protocol content confusion attack.”

Researchers from three universities in Germany have identified a new TLS attack method that can allow a man-in-the-middle (MitM) attacker to extract user data or execute arbitrary code.

The new attack, dubbed ALPACA, has been described as an “application layer protocol content confusion attack.”

“TLS is widely used to add confidentiality, authenticity and integrity to application layer protocols such as HTTP, SMTP, IMAP, POP3, and FTP. However, TLS does not bind a TCP connection to the intended application layer protocol. This allows a man-in-the-middle attacker to redirect TLS traffic to a different TLS service endpoint on another IP address and/or port,” the researchers explained in a paper made public this week.

“For example, if subdomains share a wildcard certificate, an attacker can redirect traffic from one subdomain to another, resulting in a valid TLS session. This breaks the authentication of TLS and cross-protocol attack may be possible where the behavior of one service may compromise the security of the other at the application layer,” they added.

Since exploitation requires an MitM position — the attacker needs to be able to intercept and modify the victim’s traffic — attacks over the internet are not easy to conduct, but the researchers noted that attacks over a local network are more plausible.

A malicious actor could use the ALPACA attack to extract session cookies and other user data, as well as to execute arbitrary JavaScript code through stored and reflected cross-site scripting (XSS) attacks.

ALPACA attack

The researchers scanned the internet and found 1.4 million web servers vulnerable to such cross-protocol attacks, including 119,000 that can be targeted using an exploitable application server.

The attack method was discovered last year and the researchers started notifying impacted vendors in October 2020. Microsoft and the developers of products such as Sendmail, Courier, FileZilla, vsftpd, Nginx and the Go programming language have taken steps to mitigate the risk of attacks.

Advertisement. Scroll to continue reading.

“Although this vulnerability is very situational and can be challenging to exploit, there are some configurations that are exploitable even by a pure web attacker,” the researchers noted. “Furthermore, we could only analyze a limited number of protocols, and other attack scenarios may exist. Thus, we advise that administrators review their deployments and that application developers (client and server) implement countermeasures proactively for all protocols.”

The researchers have set up a dedicated website for the ALPACA attack, which contains information on impact, affected vendor responses, comparison to other attacks, and possible protections.

Related: New Raccoon Attack Can Allow Decryption of TLS Connections

Related: NSA Issues Guidance on Replacing Obsolete TLS Versions

Related: Mozilla Joins Apple, Google in Reducing TLS Certificate Lifespans

Written By

Eduard Kovacs (@EduardKovacs) is a managing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

Cody Barrow has been appointed as CEO of threat intelligence company EclecticIQ.

Shay Mowlem has been named CMO of runtime and application security company Contrast Security.

Attack detection firm Vectra AI has appointed Jeff Reed to the newly created role of Chief Product Officer.

More People On The Move

Expert Insights

Related Content

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

Vulnerabilities

A researcher at IOActive discovered that home security systems from SimpliSafe are plagued by a vulnerability that allows tech savvy burglars to remotely disable...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Cybercrime

Patch Tuesday: Microsoft calls attention to a series of zero-day remote code execution attacks hitting its Office productivity suite.

Vulnerabilities

Patch Tuesday: Microsoft warns vulnerability (CVE-2023-23397) could lead to exploitation before an email is viewed in the Preview Pane.

IoT Security

A vulnerability affecting Dahua cameras and video recorders can be exploited by threat actors to modify a device’s system time.