The Lab · 2026-04-02 12:57:16 · GitHub Issues
A Semgrep security scan has flagged critical Server-Side Request Forgery (SSRF) vulnerabilities in a PHP codebase, exposing internal services to potential attacker manipulation. The automated scan identified two high-risk findings where user-controlled input flows directly into network-fetching functions without any va...
The Lab · 2026-04-08 08:27:07 · GitHub Issues
Semgrep 安全扫描工具在一段 PHP 代码中检测到两处严重的服务器端请求伪造(SSRF)漏洞。核心风险在于,用户完全可控的输入数据(`$name` 和 `$code`)未经任何验证,直接传递给了 `curl_init()` 函数。这意味着攻击者可以操纵这些参数,迫使服务器向内部网络服务或任意外部主机发起请求,从而可能探测内网结构、访问受保护的内部系统,或作为攻击跳板。
漏洞位于 `example-codes/index8.php` 文件的第13行和第14行。代码片段显示,`curl_init($name);` 和 `curl_init($code);` 直接使用了来自用户的变量。这种模式是典型的 SSRF 漏洞模式,因为应用...
The Lab · 2026-04-10 10:39:42 · GitHub Issues
A medium-severity vulnerability, CVE-2026-32289, has been identified within the Kyverno project, exposing a potential path to cross-site scripting (XSS) attacks. The core flaw resides in the engine's handling of JavaScript template literals, where context tracking fails across template branches. This failure, combined ...
The Lab · 2026-04-20 13:22:56 · GitHub Issues
Semgrep 安全扫描工具在一段 PHP 代码中检测到一处严重的服务器端请求伪造(SSRF)漏洞。核心风险在于,用户完全可控的输入变量 `$name` 未经任何验证或净化,便直接传递给了 `curl_init()` 函数。这使得攻击者能够操纵服务器向内部网络服务或任意外部主机发起 HTTP 请求,从而可能访问或攻击本应隔离的后端系统、元数据服务或内部 API。
该漏洞的具体位置位于 `example-codes/index10.php` 文件的第 13 行。代码片段 `curl_init($name);` 清晰地展示了攻击面:应用程序直接使用来自用户的 `$name` 参数来初始化 cURL 会话。由于缺乏对 `$name` 值...
The Lab · 2026-04-20 18:22:53 · GitHub Issues
A critical security flaw in the Go programming language's standard library has been flagged, exposing a potential path traversal vulnerability. The issue, tracked as CVE-2026-32282, resides in the `internal/syscall/unix` package. Specifically, the `Root.Chmod` function can be manipulated to follow symbolic links outsid...
The Lab · 2026-04-20 18:22:55 · GitHub Issues
A critical vulnerability in OpenSSL, tracked as CVE-2026-28390, has triggered active code-scanning alerts within a major industry consortium's software project. The flaw, a NULL pointer dereference in CMS EnvelopedData processing, can lead to a denial-of-service condition, potentially crashing applications that parse m...