nerdexam
EC-Council

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

Hacking Web Servers

Question

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 web server, is a strong indication that the server is vulnerable to this kind of attack?

Options

  • Astm
  • Bhtml
  • C.rss
  • D.cms

How the community answered

(56 responses)
  • A
    9% (5)
  • B
    86% (48)
  • C
    4% (2)
  • D
    2% (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.

Astm

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.

BhtmlCorrect

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.

C.rss

The .rss extension identifies RSS syndication feed files and has no relationship to server-side include processing or the SSI attack surface.

D.cms

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

#Server-Side Includes#SSI injection#web server vulnerability#file extensions

Community Discussion

No community discussion yet for this question.

Full 312-50V11 Practice