CVE-2023-26463

strongSwan 5.9.8 and 5.9.9 potentially allows remote code execution because it uses a variable named "public" for two different purposes within the same…

Critical · published April 14, 2023

CVSS v3.1
9.8
EPSS
2%
Percentile
83.0
In the wild
Unconfirmed
What it is

🚨 Two roles for a single variable? That's the recipe for chaos! In strongSwan 5.9.8 and 5.9.9, an improperly handled "public" variable creates a potential RCE nightmare. 🔥 Think of it like a restaurant chef using the same knife for both cutting vegetables and slicing raw meat — one wrong move and it's a recipe for disaster. In this case, the incorrect access control is like someone sneaking into the kitchen without a reservation and causing havoc! An attacker could exploit this flaw by sending an untrusted client certificate during EAP-TLS, leading to full remote code execution on the server. This means they could potentially take control of the server, access sensitive information, and wreak absolute havoc on your network!

Put simply

Think of it like a restaurant chef using the same knife for both cutting vegetables and slicing raw meat — one wrong move and it's a recipe for disaster. In this case, the incorrect access control is like someone sneaking into the kitchen without a reservation and causing havoc! This vulnerability stems from the dual use of a variable named "public" in the same function, leading to incorrect access control and an expired pointer dereference. If the server loads specific plugins that implement TLS-based EAP methods, it becomes vulnerable to exploitation.

What to do

An attacker could exploit this flaw by sending an untrusted client certificate during EAP-TLS, leading to full remote code execution on the server. This means they could potentially take control of the server, access sensitive information, and wreak absolute havoc on your network! Patch strongSwan to version 5.9.10 immediately to resolve this critical vulnerability. Additionally, review your configurations to ensure that only trusted client certificates are accepted during EAP-TLS to bolster security. You've got this! Implement these fixes and you'll be back in control in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02283 · 83.0th percentile
Published
2023-04-14T00:00Z
EPSS history
Timeline
  • 14 APR 00:00Z
    strongSwan 5.9.8 and 5.9.9 potentially allows remote code execution because it uses a variable named "public" for two different purposes within the same…
    cvelistv5