Skip to Content
Web アプリケーションセキュリティ
book

Web アプリケーションセキュリティ

by Andrew Hoffman
May 2025
Beginner to intermediate
330 pages
4h 34m
Japanese
O'Reilly Media, Inc.
Content preview from Web アプリケーションセキュリティ

第15章. サードパーティの依存関係を利用する

この作品はAIを使って翻訳されている。ご意見、ご感想をお待ちしている:translation-feedback@oreilly.com

今日のソフトウェアがOSSの上に構築されていることは周知の事実だ。商業的な分野でさえ、最大かつ最も収益性の高い製品の多くは、世界中の多くの開発者によるオープンソースの貢献の上に構築されている。

OSSの上に構築された製品には次のようなものがある:

  • Reddit (BackBoneJS、Bootstrap)

  • Twitch (Webpack、Nginx)

  • YouTube(ポリマー)

  • LinkedIn (EmberJS)

  • Microsoft Office Web (AngularJS)

  • Amazon DocumentDB (MongoDB)

単にOSSに依存するだけでなく、現在では多くの企業が主力製品をオープンソース化し、製品を直接販売する代わりにサポートや継続的なサービスで収益を上げている。その例をいくつか挙げよう:

  • オートマティック社(ワードプレス)

  • キヤノニカル(Ubuntu)

  • シェフ

  • Docker(ドッカー)

  • Elastic(Elasticsearch)。

  • モンゴ(MongoDB)

  • GitLab(ギットラボ)

BuiltWithはウェブ・アプリケーションの一例で、他のウェブ・アプリケーションがどのような技術に基づいて構築されているかを判断するために、他のウェブ・アプリケーションをフィンガープリントする(図15-1)。これはウェブ・アプリケーションの背後にあるテクノロジーを素早く判断するのに便利である。

BuiltWith
図15-1. BuiltWithウェブ・アプリケーション

OSSへの依存は、便利ではあるが、しばしば重大なセキュリティリスクをもたらす。このリスクは、機知に富んだ戦略的なハッカーに悪用される可能性がある。OSS がアプリケーションのセキュリティのリスクになり得る理由はいくつかあり、そのすべてに注意を払うことが重要である。

まず第一に、OSSに依存するということは、おそらく自社のコードと同じような厳重な監査が行われていないコードベースに依存することを意味する。大規模なOSSのコードベースを監査するのは非現実的である。まず、セキュリティ・エンジニアを十分に増強してコードベースに精通させる必要があり、その後、コードの詳細なポイント・イン・タイム分析を実施する必要があるからだ。これは非常にコストのかかるプロセスである。

OSSのコードベースは常に更新されるからである。理想的には、送られてくるプルリクエストごとにセキュリティ評価を行うことである。残念ながら、それも非常に高価なことであり、ほとんどの企業はそのような金銭的な損失には協力せず、むしろ比較的不慣れなソフトウェアを使用するリスクを負うことになるだろう。

これらの点から、OSSの統合や依存関係は、誰かのソフトウェアに侵入しようとするハッカーにとって格好の出発点となる。鎖は最も弱い鎖ほど強く、最も弱い鎖は最も厳密でない品質保証を受けた鎖であることが多い。

ハッカーとして、悪用すべきOSSの統合や依存関係を発見する最初のステップは、偵察である。偵察の後、これらの統合の悪用可能性はさまざまな角度からやってくる。 ...

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

詳解 システム・パフォーマンス 第2版

詳解 システム・パフォーマンス 第2版

Brendan Gregg, 西脇 靖紘, 長尾 高弘
Linuxカーネルプログラミング 第2版

Linuxカーネルプログラミング 第2版

Kaiwan N. Billimoria, 武内 覚, 大岩 尚宏

Publisher Resources

ISBN: 9798341651111