Friday, June 2, 2023

ALPACA: Application Layer Protocol Confusion-Analyzing And Mitigating Cracks In TLS Authentication

In cooperation with the university Paderborn and Münster University of Applied Sciences, we discovered a new flaw in the specification of TLS. The vulnerability is called ALPACA and exploits a weakness in the authentication of TLS for cross-protocol attacks. The attack allows an attacker to steal cookies or perform cross-site-scripting (XSS) if the specific conditions for the attack are met.

TLS is an internet standard to secure the communication between servers and clients on the internet, for example that of web servers, FTP servers, and Email servers. This is possible because TLS was designed to be application layer independent, which allows its use in many diverse communication protocols.

ALPACA is an application layer protocol content confusion attack, exploiting TLS servers implementing different protocols but using compatible certificates, such as multi-domain or wildcard certificates. Attackers can redirect traffic from one subdomain to another, resulting in a valid TLS session. This breaks the authentication of TLS and cross-protocol attacks may be possible where the behavior of one protocol service may compromise the other at the application layer.

We investigate cross-protocol attacks on TLS in general and conducted a systematic case study on web servers, redirecting HTTPS requests from a victim's web browser to SMTP, IMAP, POP3, and FTP servers. We show that in realistic scenarios, the attacker can extract session cookies and other private user data or execute arbitrary JavaScript in the context of the vulnerable web server, therefore bypassing TLS and web application security.

We evaluated the real-world attack surface of web browsers and widely-deployed Email and FTP servers in lab experiments and with internet-wide scans. We find that 1.​4M web servers are generally vulnerable to cross-protocol attacks, i.e., TLS application data confusion is possible. Of these, 114k web servers can be attacked using an exploitable application server. As a countermeasure, we propose the use of the Application Layer Protocol Negotiation (ALPN) and Server Name Indication (SNI) extensions in TLS to prevent these and other cross-protocol attacks.

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. 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.

More information on ALPACA can be found on the website https://alpaca-attack.com/.

More information


  1. Black Hat Hacker Tools
  2. Hack Tools For Windows
  3. World No 1 Hacker Software
  4. Nsa Hack Tools
  5. Hacking Tools 2019
  6. Pentest Tools For Android
  7. Pentest Tools Open Source
  8. Hacking Tools Hardware
  9. How To Make Hacking Tools
  10. Growth Hacker Tools
  11. Hack Website Online Tool
  12. Nsa Hacker Tools
  13. Hacking Apps
  14. Hacker Tools Free Download
  15. Github Hacking Tools
  16. Pentest Tools Open Source
  17. Game Hacking
  18. Hack Tools For Ubuntu
  19. Hacking Tools For Windows Free Download
  20. Nsa Hack Tools
  21. Hacking Tools For Kali Linux
  22. Hacking Tools Github
  23. Pentest Tools Open Source
  24. Github Hacking Tools
  25. Underground Hacker Sites
  26. Hacker Tools For Ios
  27. Physical Pentest Tools
  28. Hacking Tools Windows
  29. Hacker
  30. Hacking Tools 2020
  31. Tools Used For Hacking
  32. Hack Tools
  33. Pentest Tools Port Scanner
  34. Hack Tools
  35. Pentest Tools Linux
  36. New Hacker Tools
  37. Pentest Tools Subdomain
  38. Hacker Tools Free Download
  39. Hack Tools For Windows
  40. Hackrf Tools
  41. Bluetooth Hacking Tools Kali
  42. How To Make Hacking Tools
  43. Android Hack Tools Github
  44. Pentest Tools Open Source
  45. Usb Pentest Tools
  46. Tools 4 Hack
  47. New Hack Tools
  48. Pentest Tools Online
  49. Hack Tools Online
  50. Pentest Box Tools Download
  51. Hack Tools 2019
  52. Hacker Tools
  53. Hacking Tools For Pc
  54. Pentest Tools Github

No comments:

Post a Comment