前提条件
The targeted application must have a bug that allows an adversary to control which code file is loaded at some juncture.
Some variants of this attack may require that old versions of some code files be present and in predictable locations.
必要なリソース
The adversary needs to have enough access to the target application to control the identity of a locally included file. The attacker may also need to be able to upload arbitrary code files to the target machine, although any location for these files may be acceptable.
緩和策
Implementation: Avoid passing user input to filesystem or framework API. If necessary to do so, implement a specific, allowlist approach.
関連する弱点
| CWE-ID |
弱点名 |
|
Inclusion of Functionality from Untrusted Control Sphere The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere. |
参考文献
REF-613
OWASP Web Security Testing Guide
https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/07-Input_Validation_Testing/11.1-Testing_for_Local_File_Inclusion.html
登録情報
| 名前 |
組織 |
日付 |
リリース日 |
| CAPEC Content Team |
The MITRE Corporation |
2014-06-23 +00:00 |
|
変更履歴
| 名前 |
組織 |
日付 |
コメント |
| CAPEC Content Team |
The MITRE Corporation |
2015-11-09 +00:00 |
Updated References |
| CAPEC Content Team |
The MITRE Corporation |
2017-08-04 +00:00 |
Updated Attack_Motivation-Consequences, Attack_Prerequisites, Resources_Required, Solutions_and_Mitigations |
| CAPEC Content Team |
The MITRE Corporation |
2018-07-31 +00:00 |
Updated References |
| CAPEC Content Team |
The MITRE Corporation |
2019-04-04 +00:00 |
Updated Related_Weaknesses |
| CAPEC Content Team |
The MITRE Corporation |
2020-07-30 +00:00 |
Updated Mitigations |
| CAPEC Content Team |
The MITRE Corporation |
2020-12-17 +00:00 |
Updated References |