312-50V11 · Question #984
A "Server-Side Includes" attack refers to the exploitation of a web application by injecting scripts in HTML pages or executing arbitrary code remotely. Which web-page file type, if it exists on the w
The correct answer is B. html. Server-Side Includes (SSI) attacks target web servers that process SSI directives in specially flagged files. The .shtml extension (choice B likely represents .shtml, a known formatting artifact in some question banks) is the primary indicator that SSI processing is enabled on a
Question
Options
- Astm
- Bhtml
- C.rss
- D.cms
How the community answered
(56 responses)- A9% (5)
- B86% (48)
- C4% (2)
- D2% (1)
Why each option
Server-Side Includes (SSI) attacks target web servers that process SSI directives in specially flagged files. The .shtml extension (choice B likely represents .shtml, a known formatting artifact in some question banks) is the primary indicator that SSI processing is enabled on a server.
The .stm extension is associated with streaming media or older FrontPage-era templates and does not specifically indicate that a server is configured to process SSI directives.
Files with the .shtml extension instruct the web server to parse the file for SSI directives before delivering the response to the client. The presence of .shtml files strongly indicates that SSI processing is active, making the server potentially vulnerable to SSI injection where an attacker embeds directives such as <!--#exec cmd='id' --> to execute arbitrary OS commands on the server.
The .rss extension identifies RSS syndication feed files and has no relationship to server-side include processing or the SSI attack surface.
The .cms extension is typically linked to content management system output files and does not signal that the web server parses SSI directives in responses.
Concept tested: Server-Side Includes injection vulnerability file extension indicators
Source: https://owasp.org/www-community/attacks/Server-Side_Includes_(SSI)_Injection
Topics
Community Discussion
No community discussion yet for this question.