<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>9000 on SoulJian</title><link>https://www.souljian.cn/tags/9000/</link><description>Recent content in 9000 on SoulJian</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><lastBuildDate>Fri, 04 Dec 2026 07:05:00 +0800</lastBuildDate><atom:link href="https://www.souljian.cn/tags/9000/index.xml" rel="self" type="application/rss+xml"/><item><title>PHP-FPM 9000 暴露：无认证即任意代码</title><link>https://www.souljian.cn/p/php-fpm-9000-unauthorized-rce/</link><pubDate>Fri, 04 Dec 2026 07:05:00 +0800</pubDate><guid>https://www.souljian.cn/p/php-fpm-9000-unauthorized-rce/</guid><description>&lt;h2 id="一句话结论"&gt;一句话结论
&lt;/h2&gt;&lt;p&gt;PHP-FPM 的 FastCGI 端口没有认证机制，唯一的来源限制是 &lt;code&gt;listen.allowed_clients&lt;/code&gt;——而它在 &lt;code&gt;www.conf&lt;/code&gt; 里&lt;strong&gt;默认是注释状态&lt;/strong&gt;。于是&amp;quot;9000 映射到 0.0.0.0&amp;quot;这一个配置动作，就等价于&amp;quot;任何人可以执行任意 PHP&amp;quot;：客户端用 &lt;code&gt;PHP_VALUE&lt;/code&gt; 覆盖 &lt;code&gt;auto_prepend_file&lt;/code&gt;，把代码塞进 STDIN，&lt;strong&gt;连可写目录都不需要&lt;/strong&gt;，只要目标是真实存在的 &lt;code&gt;.php&lt;/code&gt; 文件就行。&lt;/p&gt;</description></item></channel></rss>