<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Security :: Today 'tunepolo' Leaned</title><link>https://tunepolo.github.io/til/security/index.html</link><description/><generator>Hugo</generator><language>ja-jp</language><atom:link href="https://tunepolo.github.io/til/security/index.xml" rel="self" type="application/rss+xml"/><item><title>HTTPヘッダーインジェクション</title><link>https://tunepolo.github.io/til/security/http_header_injection/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tunepolo.github.io/til/security/http_header_injection/index.html</guid><description>概要 改行コードを含む不正なリクエストをサーバに送りつけることで、改ざんされたHTTPレスポンスヘッダーを送らせ、意図しない動作をブラウザに行わせる。</description></item><item><title>Nullバイト攻撃</title><link>https://tunepolo.github.io/til/security/null_byte_attack/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tunepolo.github.io/til/security/null_byte_attack/index.html</guid><description>概要 Nullバイト（’\0’, ‘\x00’, ‘%00’）をリクエストに含めることで、セキュリティチェックをくぐりぬけようとする攻撃。 サーバ側の処理でバイナリセーフない処理が入っているとこれにより誤動作を起こしてしまうことがある。</description></item><item><title>OSコマンドインジェクション</title><link>https://tunepolo.github.io/til/security/os_command_injection/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tunepolo.github.io/til/security/os_command_injection/index.html</guid><description>概要 パラメーターにOSへの命令文を紛れ込ませ、サーバ内の任意のコマンドを実行させることで攻撃を仕掛ける。&#10;対策 外部ファイル・コマンドを実行する仕組みを作らない。 参考 OSコマンドインジェクションの仕組みとその対策 | セキュリティ対策 | CyberSecurityTIMES</description></item><item><title>SQLインジェクション</title><link>https://tunepolo.github.io/til/security/sql_injection/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tunepolo.github.io/til/security/sql_injection/index.html</guid><description>概要 データベースに対する命令文（SQL）を改竄し、意図しない操作をさせる。&#10;対応方法 入力をエスケープする。 PreparedStatementを利用する。 参考 SQLインジェクション - Wikipedia</description></item><item><title>クロスサイトリクエストフォージェリ（CSRF）</title><link>https://tunepolo.github.io/til/security/csrf/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tunepolo.github.io/til/security/csrf/index.html</guid><description>概要 正規の権限を持つユーザに対して意図しない操作をさせる。 「SNSに勝手に投稿する」「コンテンツを削除・改変する」「パスワードを勝手に変更する」など。</description></item><item><title>スクリプトインジェクション / クロスサイトスクリプティング（XSS）</title><link>https://tunepolo.github.io/til/security/script_injection/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tunepolo.github.io/til/security/script_injection/index.html</guid><description>概要 サイトにスクリプトを含むリクエストを送信し、サイトを訪れた第三者に悪意のあるコードを実行させる脆弱性の総称。&#10;攻撃対象のサイトだけでなく、別サイトへのリダイレクトなど複数サイトを横断させてスクリプトを実行させることもできることからクロスサイトスクリプティング（XSS）とも呼ばれる。</description></item><item><title>セッションハイジャック</title><link>https://tunepolo.github.io/til/security/session_hijack/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tunepolo.github.io/til/security/session_hijack/index.html</guid><description>概要 第三者のセッションを乗っ取り、不正に操作する。&#10;リファラによる漏洩 XSSによるセッションIDの入手 セッション固定攻撃によるセッションIDの指定 通信データの盗聴、ウイルスによるID取得 セッション固定攻撃 攻撃対象のユーザに対して任意のセッションIDを強制的に利用させる。</description></item><item><title>ディレクトリトラバーサル</title><link>https://tunepolo.github.io/til/security/directory_traversal/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tunepolo.github.io/til/security/directory_traversal/index.html</guid><description>概要 入力ファイル名のセキュリティ検証/無害化が不十分なため、ファイルAPIに対して「親ディレクトリへの横断 (traverse)」を示すような文字がすり抜けて渡されてしまう。 ディレクトリを遡って任意のファイルにアクセスできてしまう。</description></item><item><title>ファイルアップロード攻撃</title><link>https://tunepolo.github.io/til/security/file_upload_attack/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://tunepolo.github.io/til/security/file_upload_attack/index.html</guid><description>概要 悪意のあるコードを含んだファイルをアップロードして任意の処理を実行させる。&#10;対策 アップロードされたファイルをドキュメントルートの外側に置く。 推測不可能なファイル名で保存する。 参考 ファイルアップロード攻撃 - ぱろっくの日記</description></item></channel></rss>