漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
HUSTOJ is Vulnerable to Stored CSV Injection (Formula Injection) in Contest Rank Export
Vulnerability Description
hustoj is an open source online judge based on PHP/C++/MySQL/Linux for ACM/ICPC and NOIP training. All versions are vulnerable to CSV Injection (Formula Injection) through the contest rank export functionality (contestrank.xls.php and admin/ranklist_export.php). The application fails to sanitize user-supplied input (specifically the "Nickname" field) before exporting it to an .xls file (which renders as an HTML table but is opened by Excel). If a malicious user sets their nickname to an Excel formula when an administrator exports and opens the rank list in Microsoft Excel, the formula will be executed. This can lead to arbitrary command execution (RCE) on the administrator's machine or data exfiltration. A fix was not available at the time of publication.
CVSS Information
N/A
Vulnerability Type
CWE-1236
Vulnerability Title
HUSTOJ 安全漏洞
Vulnerability Description
HUSTOJ是中国张浩斌(zhblue)个人开发者的一个流行的 OJ 系统。 HUSTOJ存在安全漏洞,该漏洞源于应用程序在导出到.xls文件前未清理用户提供的输入,可能导致CSV注入和任意命令执行。
CVSS Information
N/A
Vulnerability Type
N/A