<?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>Web Security Academy</anon>
    <anon>File upload</anon>
  </categories>
  <description>Hello there, ('ω')ノ ねらい このLABは、ファイルアップロード機能が「見た目は正しい画像」であることだけを確認しており、サーバ側では拡張子 .php をコードとして解釈してしまう、という検証と実行の不整合を突きます。 画像にPHPコードをEXIFコメントとして埋め込むと、ファイルは「画像としても正当」かつ「PHPとしても実行可能」というポリグロット（多言語）ファイルになります。 全体像（まずはストーリー） ログイン（wiener:peter）。 ふつうの exploit.php をアバターとして上げてブロックされることを確認。 画像にPHPをEXIFコメントとして埋め込み、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcysec148.hatenablog.com%2Fentry%2F2025%2F08%2F15%2F072054&quot; title=&quot;【有料試作版】PortSwigger LAB解説：Remote code execution via polyglot web shell upload - 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-08-15 07:20:54</published>
  <title>【有料試作版】PortSwigger LAB解説：Remote code execution via polyglot web shell upload</title>
  <type>rich</type>
  <url>https://cysec148.hatenablog.com/entry/2025/08/15/072054</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
