0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ファイルをアップロードするとAzure WAF LFIにひっかかる

Posted at

経緯

開発中、ファイルをアップロードする処理を実装したところ、アップロードに失敗するJPEGファイルがいた

結論

JPEGのバイナリデータ中に2e2e5cや、2e2e2fという列が現れるものに対して検知が働いていると思われる

推測

AzureのWAFがどのような検知ロジックとなっているかは不明だが、バイナリデータとなったJPEGをASCII化している?
そのため、LFIのパターンとして../や..\が検知されてしまったと推測した

詳しい方いれば教えていただきたい...

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?