漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
TarsWeb through 3.0.14 Authentication Bypass via Spoofed X-Forwarded-For and uid Parameter
Vulnerability Description
TarsWeb decides whether a request comes from a trusted local caller using a client-controlled header. app.js sets Koa's proxy option to true without naming which upstream proxies may be trusted and without limiting the number of forwarded hops, so the request address Koa reports is taken from the X-Forwarded-For header supplied by the caller. In midware/ssoMidware.js a single branch covers both the ignored-path list and the ignoreIps allowlist from config/loginConf.js, which contains the loopback address, and that branch assigns the effective account identity from the uid query parameter before falling through to the request without validating any ticket, cookie or password. A request carrying a forged X-Forwarded-For value naming the loopback address and a uid naming an existing account therefore reaches every route the console mounts as that account, including an administrator, with no credential of any kind. Those routes include user and role administration, service configuration, and package upload and deployment. Version 3.0.16 separates the two branches so that a match on the address allowlist assigns the configured default account rather than one named by the caller.
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
TarsWeb 授权问题漏洞
Vulnerability Description
TarsWeb是TARS组织的一个Web开发框架。 TarsWeb 3.0.14及之前版本存在授权问题漏洞,该漏洞源于使用客户端控制的X-Forwarded-For头判断请求是否来自可信本地调用者,且未限制转发跳数,并直接使用uid查询参数分配账户身份而未验证任何票据、Cookie或密码,可能导致未经身份验证的攻击者伪造X-Forwarded-For头及uid参数,以包括管理员在内的任意现有账户身份访问用户和角色管理、服务配置、包上传和部署等控制台路由。
CVSS Information
N/A
Vulnerability Type
N/A