Published: 2025-06-02 08:00

Apache Tomcat の CGI サーブレットに pathInfo のセキュリティ制約が回避される脆弱性

 独立行政法人情報処理推進機構(IPA)および一般社団法人JPCERT コーディネーションセンター(JPCERT/CC)は5月30日、Apache TomcatのCGIサーブレットにおいてpathInfoのセキュリティ制約回避される脆弱性について「Japan Vulnerability Notes(JVN)」で発表した。影響を受けるシステムは以下の通り

Apache Tomcat 11.0.0-M1から11.0.6まで Apache Tomcat 10.1.0-M1から10.1.40まで Apache Tomcat 9.0.0.M1から9.0.104まで ※大文字小文字区別しないファイルシステムでTomcatが稼働し、かつCGIサーブレットが用いられている場合においのみ、本脆弱性影響を受ける。

 Apache TomcatのCGIサーブレットには、大文字小文字対する不適切取り扱い(CVE-2025-46701)に起因して、CGIサーブレットにマップされたURLのうち、pathInfoに設定されたセキュリティ制約回避される脆弱性存在し、大文字小文字区別しないファイルシステム上で稼働するTomcatで特別に細工されたURLへのアクセスを処理するに、CGIサーブレットにマップされたURLのうち、pathInfoに設定されたセキュリティ制約回避され、意図しないアクセスを許可してしまう可能性がある。

 JVNでは、開発者提供する情報もと最新版へアップデートするよう呼びかけている。なお、本脆弱性下記のバージョンで修正されている。

Apache Tomcat 11.0.7およびそれ以降 Apache Tomcat 10.1.41およびそれ以降 Apache Tomcat 9.0.105およびそれ以降

# 言葉 意味
4 および (及び) : and; as well as
4 ぜいじゃくせい (脆弱性) : vulnerability; weakness; fragility
3 せいやく (制約) : limitation; restriction; condition; constraints
3 かいひ (回避) : evasion; avoidance
3 おおもじ (大文字) : 1. uppercase letter; capital letter 2. large character; large writing
3 こもじ (小文字) : 1. lowercase letter 2. small letter
3 それ (其れ) : 1. that; it 2. then; that point (in time); that time
3 いこう (以降) : on and after; as from; hereafter; thereafter; since
2 おく (奥) : inner part; inside; interior; depths (e.g. of a forest); back (of a house, drawer, etc.); bottom (e.g. of one's heart); recesses; heart
2 えいきょう (影響) : 1. influence; effect 2. to influence; to affect; to have an influence on; to impact; to have an effect on
2 くべつ (区別) : distinction; differentiation; classification
2 かどう (稼働) : operation (of machine); operating; running; working
2 せってい (設定) : 1. establishment; creation; posing (a problem); setting (movie, novel, etc.); scene 2. options setting; preference settings; configuration; setup
1 どくりつぎょうせいほうじん (独立行政法人) : independent administrative corporation (institution, agency)
1 じょうほうしょりすいしんきこう (情報処理推進機構) : Information-technology Promotion Agency (organization)
1 いっぱんしゃだんほうじん (一般社団法人) : general incorporated association
1 はっぴょう (発表) : announcement; publication; presenting; statement; communique; making known; breaking (news story); expressing (one's opinion); releasing; unveiling
1 とおり (通り) : 1. avenue; street; way; road 2. coming and going; street traffic
1 もちいる (用いる) : to use; to make use of; to utilize; to utilise
1 のみ : only; nothing but
1 たいする (対する) : 1. to face (each other); to be facing 2. to be directed toward (the future, etc.); to be in response to; to be related to
1 ふてきせつ (不適切) : unsuitable; inappropriate; improper
1 とりあつかい (取り扱い) : treatment; service; handling; management
1 きいん (起因) : cause; origin
1 そんざい (存在) : existence; being
1 さいく (細工) : 1. work; workmanship; craftsmanship; handiwork 2. artifice; trick; device; tampering; doctoring
1 しょり (処理) : processing; dealing with; treatment; disposition; disposal
1 きわ (際) : 1. edge; brink; verge; side 2. time; moment of
1 いと (意図) : intention; aim; design
1 きょか (許可) : 1. permission; approval; authorization; license 2. to permit; to authorize
1 かのうせい (可能性) : potentiality; likelihood; possibility; availability
1 かいはつしゃ (開発者) : developer
1 ていきょう (提供) : 1. offer; tender; providing; supplying; making available; donating (blood, organs, etc.) 2. sponsoring (a TV program)
1 じょうほう (情報) : 1. information; news; intelligence; advices 2. information; data contained in characters, signals, code, etc.
1 もと (元) : 1. origin; source 2. base; basis; foundation; root
1 さいしんばん (最新版) : latest version; latest edition
1 よびかける (呼びかける) : 1. to call out to; to hail; to address 2. to appeal
1 なお (尚) : 1. still; yet 2. more; still more; greater; further
1 かき (下記) : the following
1 しゅうせい (修正) : amendment; correction; revision; modification; alteration; retouching; update; fix