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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-66908

Quick assessment

Affected
n/a n/a
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.

turms是turms-im开源的一个即时通讯引擎。 turms AI-Serving module v0.10.0-SNAPSHOT及之前版本存在安全漏洞,该漏洞源于OCR图像上传功能中文件类型验证不当,可能导致服务器端代码执行。

AI Predicted 8.6 Difficulty: Easy EPSS 0.44% · P36
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-66908

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
N/A
Source: CVE Program / CVE List V5
Vulnerability Description
Turms AI-Serving module v0.10.0-SNAPSHOT and earlier contains an improper file type validation vulnerability in the OCR image upload functionality. The OcrController in turms-ai-serving/src/main/java/im/turms/ai/domain/ocr/controller/OcrController.java uses the @FormData(contentType = MediaTypeConst.IMAGE) annotation to restrict uploads to image files, but this constraint is not properly enforced. The system relies solely on client-provided Content-Type headers and file extensions without validating actual file content using magic bytes (file signatures). An attacker can upload arbitrary file types including executables, scripts, HTML, or web shells by setting the Content-Type header to "image/*" or using an image file extension. This bypass enables potential server-side code execution, stored XSS, or information disclosure depending on how uploaded files are processed and served.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
turms 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
turms是turms-im开源的一个即时通讯引擎。 turms AI-Serving module v0.10.0-SNAPSHOT及之前版本存在安全漏洞,该漏洞源于OCR图像上传功能中文件类型验证不当,可能导致服务器端代码执行。
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
- n/a n/a -

II. Public POCs for CVE-2025-66908

# 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-66908

请登录查看更多情报信息。

Other References for CVE-2025-66908 (3)

Same Patch Batch · n/a · 2025-12-19 · 16 CVEs total

CVE-2025-14546 6.3 MEDIUM FastAPI SSO 安全漏洞
CVE-2025-14908 6.3 MEDIUM JeecgBoot Multi-Tenant Management SysTenantController.java improper authentication
CVE-2025-14966 4.7 MEDIUM FastAdmin Backend Controller Backend.php selectpage sql injection
CVE-2025-14909 4.3 MEDIUM JeecgBoot SysUserOnlineController.java SysUserOnlineController user session
CVE-2025-14955 3.7 LOW Open5GS PFCP handler.c ogs_pfcp_handle_create_pdr initialization
CVE-2025-14954 3.7 LOW Open5GS QER/FAR/URR/PDR context.c ogs_pfcp_qer_find_or_add assertion
CVE-2025-14953 3.1 LOW Open5GS FAR-ID handler.c ogs_pfcp_handle_create_pdr null pointer dereference
CVE-2025-66911 turms 安全漏洞
CVE-2025-66909 turms 安全漏洞
CVE-2025-50681 igmpproxy 安全漏洞
CVE-2025-66910 turms 安全漏洞
CVE-2025-66906 turms 安全漏洞
CVE-2025-66905 Takes 安全漏洞
CVE-2025-67442 EVE-NG 安全漏洞
CVE-2025-63665 GT Edge AI 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2025-66908

No comments yet


Leave a comment