<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mmmmzy</author_name>
  <author_url>https://blog.hatena.ne.jp/mmmmzy/</author_url>
  <blog_title>混世魔王</blog_title>
  <blog_url>https://hsmw.hateblo.jp/</blog_url>
  <categories>
    <anon>网络文摘</anon>
  </categories>
  <description>PHP 的 fopen(), file() 及其它函数存在一个缺陷，即用户随意地添加额外HTTP报头信息到HTTP请求数据包中。攻击者可以利用此缺陷绕过服务器的安全限制，进行非法访问。在某些情况下，这个缺陷甚至可以打开任意的网络连接，在代理端执行PHP脚本和打开邮件转发。 PHP有一些函数用文件名（如：fopen(), file()等）作为它们的参数。如果在php.ini中allow_url_fopen被设置为打开的，这些函数也允许以接受URL来替代接收文件，并且用正确的协议连接到服务器。那么这些函数将很容易遭到 CRLF Injection 攻击。 1)我们开始一个简单的攻击。下面这段PHP…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhsmw.hateblo.jp%2Fentry%2F6947309&quot; title=&quot;CRLF Injection 攻击 - 混世魔王&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-03-21 00:00:00</published>
  <title>CRLF Injection 攻击</title>
  <type>rich</type>
  <url>https://hsmw.hateblo.jp/entry/6947309</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
