漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Algernon: Host header path traversal in --domain mode reads files and runs Lua from parent dir
Vulnerability Description
Algernon is a small self-contained pure-Go web server. Prior to 1.17.8, when algernon is started with --domain (or --letsencrypt, which silently turns on --domain at engine/flags.go:372), the request handler resolves the served directory by joining the configured --dir with the value of the client-supplied Host header. The join is performed by filepath.Join with no validation, so a Host: .. header walks one level above the document root. Subsequent file resolution then exposes everything in that parent directory — arbitrary file read, full directory listing, and, if any .lua file is present, server-side Lua execution. This vulnerability is fixed in 1.17.8.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
algernon 安全漏洞
Vulnerability Description
algernon是Alexander F. Rødseth个人开发者的一个 Web 服务器。 Algernon 1.17.8之前版本存在安全漏洞,该漏洞源于使用--domain时通过Host标头进行路径遍历,可能导致任意文件读取、目录列表和Lua执行。
CVSS Information
N/A
Vulnerability Type
N/A