Vulnerability Information
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
txtai - Unauthenticated Remote Code Execution via Unsafe Reflection in API /reindex function Parameter
Vulnerability Description
txtai through 9.10.0, fixed in commit 11b32da, exposes an API /reindex endpoint whose function body parameter is resolved through txtai.util.Resolver, which performs __import__ and getattr on the caller-supplied dotted path with no allowlist. When the API is exposed with no TOKEN configured (authentication is opt-in, so all endpoints are unauthenticated) and the index is configured writable, a remote attacker can set function to an arbitrary callable such as subprocess.getoutput, achieving remote code execution as the server process during reindexing. Exploitation requires those deployment conditions (API exposed, no TOKEN, writable index); it is not the default configuration. The fix gates the endpoint behind a new reindex configuration flag.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Vulnerability Title
NeuML txtai 代码注入漏洞
Vulnerability Description
NeuML txtai是NeuML公司开源的一个AI框架。 NeuML txtai 9.10.0及之前版本存在代码注入漏洞,该漏洞源于/reindex API中的function body参数通过txtai.util.Resolver解析,对调用者提供的点分路径执行__import__和getattr操作且无白名单限制,可能导致远程攻击者在API未配置TOKEN且索引可写时,将function设置为任意可调用对象(如subprocess.getoutput),实现远程代码执行。
CVSS Information
N/A
Vulnerability Type
N/A