Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-59154— Openfire allows potential identity spoofing via unsafe CN parsing

Quick assessment

Affected
igniterealtime Openfire
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Openfire是Ignite Realtime开源的一款实时协作(RTC)服务器。 Openfire 5.0.2版本和5.1.0版本存在安全漏洞,该漏洞源于未正确处理X.509证书中的用户身份,可能导致攻击者冒充其他用户。

CVSS 5.9 · Medium EPSS 0.23% · P14

Possible ATT&CK Techniques 1 AI

T1078 · Valid Accounts
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-59154

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Openfire allows potential identity spoofing via unsafe CN parsing
Source: CVE Program / CVE List V5
Vulnerability Description
Openfire is an XMPP server licensed under the Open Source Apache License. Openfire’s SASL EXTERNAL mechanism for client TLS authentication contains a vulnerability in how it extracts user identities from X.509 certificates. Instead of parsing the structured ASN.1 data, the code calls X509Certificate.getSubjectDN().getName() and applies a regex to look for CN=. This method produces a provider-dependent string that does not escape special characters. In SunJSSE (sun.security.x509.X500Name), for example, commas and equals signs inside attribute values are not escaped. As a result, a malicious certificate can embed CN= inside another attribute value (e.g. OU="CN=admin,"). The regex will incorrectly interpret this as a legitimate Common Name and extract admin. If SASL EXTERNAL is enabled and configured to map CNs to user accounts, this allows the attacker to impersonate another user. The fix is included in Openfire 5.0.2 and 5.1.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
使用欺骗进行的认证绕过
Source: CVE Program / CVE List V5
Vulnerability Title
Openfire 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Openfire是Ignite Realtime开源的一款实时协作(RTC)服务器。 Openfire 5.0.2版本和5.1.0版本存在安全漏洞,该漏洞源于未正确处理X.509证书中的用户身份,可能导致攻击者冒充其他用户。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
igniterealtime Openfire < 5.0.2 -

II. Public POCs for CVE-2025-59154

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-59154

登录查看更多情报信息。

Vendor Advisories for CVE-2025-59154 (1)

Other References for CVE-2025-59154 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2025-59154

No comments yet


Leave a comment