Skip to Content
実践 Webペネトレーションテスト ―攻撃者の視点で学ぶWebアプリケーションセキュリティ
book

実践 Webペネトレーションテスト ―攻撃者の視点で学ぶWebアプリケーションセキュリティ

by 西谷 完太, 山崎 啓太郎, 渡部 裕
October 2025
Intermediate to advanced
372 pages
5h 56m
Japanese
O'Reilly Japan, Inc.
Content preview from 実践 Webペネトレーションテスト ―攻撃者の視点で学ぶWebアプリケーションセキュリティ

5章ソースコード解析による脆弱性調査

これまでの章では、主にブラックボックス的なアプローチによる脆弱性調査を扱ってきましたが、本章では視点を変え、ソースコード解析に焦点を当てます。Webアプリケーションの脆弱性調査においても、ソースコード解析は非常に有効な手段です。たとえWebサービスのソースコードはブラックボックスであったとしても、Webブラウザからアクセス可能なフロントエンドのJavaScriptコードは常に解析対象となります。フロントエンドのコードからは、APIエンドポイントや認証情報などの重要な情報が見つかることもあれば、クライアントサイドのロジック自体に脆弱性が潜んでいることもあります。

また、対象システムがオープンソースソフトウェアを利用している場合や、パストラバーサルのような脆弱性を悪用してサーバサイドのソースコードを入手できた場合には、サーバサイドのソースコード解析も可能になります。WordPressで構築されたWebサイトであれば、WPScanのようなツールで利用されているプラグインを特定し、そのプラグインのソースコードを解析することで、未知の脆弱性を発見できる可能性があるでしょう。

本章では、このようなフロントエンドおよびサーバサイドのソースコードを対象とした解析の戦略と具体的な手法について解説します。

5.1 ソースコード解析の戦略

5.1.1 脆弱性を探すためのアプローチ

ソースコード解析は、ペネトレーションテストの目標達成に繋がる脆弱性を発見するための有効な手段です。しかし、特に読み慣れない大規模なコードベースを前にすると、どこから手をつけていいか困ることも多いでしょう。やみくもにコードを読み進めるだけでは、目標達成と関係のない些末な問題に時間を浪費してしまうこともあります。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

実践 bashによるサイバーセキュリティ対策 ―セキュリティ技術者のためのシェルスクリプト活用術

実践 bashによるサイバーセキュリティ対策 ―セキュリティ技術者のためのシェルスクリプト活用術

Paul Troncone, Carl Albing, 髙橋 基信
実践 パケット解析 第3版 ―Wiresharkを使ったトラブルシューティング

実践 パケット解析 第3版 ―Wiresharkを使ったトラブルシューティング

Chris Sanders, 髙橋 基信, 宮本 久仁男, 岡 真由美

Publisher Resources

ISBN: 9784814401253Publisher Website