<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ThisIsOne</author_name>
  <author_url>https://blog.hatena.ne.jp/ThisIsOne/</author_url>
  <blog_title>Shikata Ga Nai</blog_title>
  <blog_url>https://cysec148.hatenablog.com/</blog_url>
  <categories>
    <anon>PortSwigger</anon>
  </categories>
  <description>Hello there, ('ω')ノ ヌルバイトバイパスを使用したファイル拡張子の検証を。 詳細を選択して。 下記のペイロードを入力するとエラーが。 ../../../etc/passwd さらに下記のペイロードを入力してもエラーが。 ../../../etc/passwd.png 下記のペイロードを入力してSendすると。 ../../../etc/passwd%00.png クリアできた。 これは、ヌルバイトポイズンで。 ユーザにファイルの提供を許可する場合は、変数$fileへのユーザ入力を読み取って。 許可されていないファイルを開かないようにファイル拡張子を使用しようとして。 open…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcysec148.hatenablog.com%2Fentry%2F2021%2F02%2F27%2F173544&quot; title=&quot;File path traversal, validation of file extension with null byte bypassをやってみた - Shikata Ga Nai&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>https://cdn-ak.f.st-hatena.com/images/fotolife/T/ThisIsOne/20210227/20210227172612.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-02-27 17:35:44</published>
  <title>File path traversal, validation of file extension with null byte bypassをやってみた</title>
  <type>rich</type>
  <url>https://cysec148.hatenablog.com/entry/2021/02/27/173544</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
