原始描述
OpenSIPS versions 3.1 before 3.6.4 containing the auth_jwt module (prior to commit 3822d33) contain a SQL injection vulnerability in the jwt_db_authorize() function in modules/auth_jwt/authorize.c when db_mode is enabled and a SQL database backend is used. The function extracts the tag claim from a JWT without prior signature verification and incorporates the unescaped value directly into a SQL query. An attacker can supply a crafted JWT with a malicious tag claim to manipulate the query result and bypass JWT authentication, allowing impersonation of arbitrary identities.
受影响的软件
- openSIPS ≥ 3.1 < 3.6.4 修复版本: 3.6.4 仓库或软件包匹配
详情
- 发布日期
- 2026-02-26
- 最后修改
- 2026-11-08
- CVSS 向量
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N- CWE
- CWE-89
- EPSS(30 天内被利用概率)
- 0.36% (百分位 31)
参考资料
- cve.org/CVE-2026-25554
- nvd.nist.gov/vuln/detail/CVE-2026-25554
- opensips.org/pub/opensips/3.6.4/ChangeLog
- github.com/OpenSIPS/opensips/pull/3807
- github.com/OpenSIPS/opensips/commit/3822d33c1c6b25832fdd88da1d23eed74be55b05
- opensips.org/
- www.vulncheck.com/advisories/opensips-auth-jwt-sql-injection-enables-jwt-authentication-by...
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。