{
  "id": "2025/1260",
  "url": "https://opencryptology.org/2025/1260",
  "original_url": "https://eprint.iacr.org/2025/1260",
  "title": "Opossum Attack: Application Layer Desynchronization using Opportunistic TLS",
  "authors": [
    "Robert Merget",
    "Nurullah Erinola",
    "Marcel Maehren",
    "Lukas Knittel",
    "Sven Hebrok",
    "Marcus Brinkmann",
    "Juraj Somorovsky",
    "Jörg Schwenk"
  ],
  "affiliations": null,
  "abstract": "Many protocols, like HTTP, FTP, POP3, and SMTP, were origi-\nnally designed as synchronous plaintext protocols – commands\nand data are sent in the clear, and the client waits for the response\nto a pending request before sending the next one. Later, two main\nsolutions were introduced to retrofit these protocols with TLS\nprotection. (1) Implicit TLS: Designate a new, well-known TCP\nport for each protocol-over-TLS, and start with TLS immediately.\n(2) Opportunistic TLS: Keep the original well-known port and start\nwith the plaintext protocol, then switch to TLS in response to a\ncommand like STARTTLS.\nIn this work, we present a novel weakness in the way TLS is\nintegrated into popular application layer protocols through implicit\nand opportunistic TLS. This weakness breaks authentication, even\nin modern TLS implementations if both implicit TLS and oppor-\ntunistic TLS are supported at the same time. This authentication\nflaw can then be utilized to influence the exchanged messages after\nthe TLS handshake from a pure MitM position.In contrast to previ-\nous attacks on opportunistic TLS, this attack class does not rely on\nbugs in the implementations and only requires one of the peers to\nsupport opportunistic TLS.\nWe analyze popular application layer protocols that support\nopportunistic TLS regarding their vulnerability to the attack. To\ndemonstrate the practical impact of the attack, we analyze exploita-\ntion techniques for HTTP (RFC 2817) in detail, and show four\ndifferent exploit directions. To estimate the impact of the attack on\ndeployed servers, we conducted a series of IPv4-wide scans over\nmultiple protocols and ports to check for support of opportunistic\nTLS. We found that support for opportunistic TLS is still widespread\nfor many application protocols, with over 3 million servers support-\ning both, implicit and opportunistic TLS at the same time. In the\ncase of HTTP, we found 20,121 servers that support opportunistic\nHTTP across 35 ports, with 2,268 of these servers also supporting\nHTTPS and 539 using the same domain names for implicit HTTPS,\npresenting an exploitable scenario.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Opossum Attack: Application Layer Desynchronization using Opportunistic TLS” by Robert Merget, Nurullah Erinola, Marcel Maehren, Lukas Knittel, Sven Hebrok, Marcus Brinkmann, Juraj Somorovsky, Jörg Schwenk, Cryptology ePrint Archive, Paper 2025/1260, https://eprint.iacr.org/2025/1260. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-07-08T12:07:29Z",
    "updated": "2025-07-08T12:07:29Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1260.pdf",
    "sha256": "1a7aaee47c587273bfbb9a8b6d1c5bda6397c40f8ff365e8e1e90aa69c235af3",
    "size": 941058,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/1260/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1260.pdf",
      "size": 941058,
      "sha256": "1a7aaee47c587273bfbb9a8b6d1c5bda6397c40f8ff365e8e1e90aa69c235af3",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1260.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 941058
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260104165424id_/https://eprint.iacr.org/2025/1260.pdf",
      "captured_at": "2026-01-04T16:54:24Z",
      "size": 920876
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1260,\n      author = {Robert Merget and Nurullah Erinola and Marcel Maehren and Lukas Knittel and Sven Hebrok and Marcus Brinkmann and Juraj Somorovsky and Jörg Schwenk},\n      title = {Opossum Attack: Application Layer Desynchronization using Opportunistic TLS},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1260},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1260}\n}"
}
