Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-32657— Hydra has persistent XSS vulnerability serving HTML build outputs

Quick assessment

Affected
NixOS hydra
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

NixOS Hydra是一个基于Nix项目的持续集成服务。 NixOS Hydra 8b4857959357862d3e25c9783c85c6fdf129741c及之前版本存在安全漏洞,该漏洞源于存在跨站脚本(XSS)漏洞。攻击者可利用该漏洞在浏览器上下文执行任意代码

CVSS 4.6 · Medium EPSS 0.47% · P38
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-32657

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

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
Hydra has persistent XSS vulnerability serving HTML build outputs
Source: CVE Program / CVE List V5
Vulnerability Description
Hydra is a Continuous Integration service for Nix based projects. Attackers can execute arbitrary code in the browser context of Hydra and execute authenticated HTTP requests. The abused feature allows Nix builds to specify files that Hydra serves to clients. One use of this functionality is serving NixOS `.iso` files. The issue is only with html files served by Hydra. The issue has been patched on https://hydra.nixos.org around 2024-04-21 14:30 UTC. The nixpkgs package were fixed in unstable and 23.11. Users with custom Hydra packages can apply the fix commit to their local installations. The vulnerability is only triggered when opening HTML build artifacts, so not opening them until the vulnerability is fixed works around the issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
NixOS Hydra 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
NixOS Hydra是一个基于Nix项目的持续集成服务。 NixOS Hydra 8b4857959357862d3e25c9783c85c6fdf129741c及之前版本存在安全漏洞,该漏洞源于存在跨站脚本(XSS)漏洞。攻击者可利用该漏洞在浏览器上下文执行任意代码
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
NixOS hydra < b72528be5074f3e62e9ae2c2ae8ef9c07a0b4dd3 -

II. Public POCs for CVE-2024-32657

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-32657

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-32657 (3)

Vendor Advisories for CVE-2024-32657 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-32657

No comments yet


Leave a comment