Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node.js 存在权限提升漏洞 #386

Open
y1ong opened this issue Feb 22, 2024 · 0 comments
Open

Node.js 存在权限提升漏洞 #386

y1ong opened this issue Feb 22, 2024 · 0 comments
Labels

Comments

@y1ong
Copy link
Owner

y1ong commented Feb 22, 2024

漏洞描述

Node.js 是开源、跨平台的 JavaScript 运行时环境,CAP_NET_BIND_SERVICE 是Linux操作系统中的一种特殊能力(capabilities),它允许非特权进程绑定到系统的特权端口上。
受影响版本中,由于 node::credentials 模块对 CAP_NET_BIND_SERVICE 安全机制处理存在缺陷,导致系统低权限的攻击者可通过修改 CAP_NET_BIND_SERVICE 将 Node 应用绑定至特权端口,并将恶意代码注入到Node应用中,通过修改 NODE_OPTIONS 环境变量,进而以应用当前的用户权限在主机上执行恶意代码。

参考链接

  1. https://www.oscs1024.com/hd/MPS-lvsi-p1yd
  2. https://nvd.nist.gov/vuln/detail/CVE-2024-21892
  3. https://hackerone.com/reports/2237545
  4. nodejs/node@10ecf40
@y1ong y1ong added the vuln label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant