Free 312-50 Exam Braindumps
Ethical Hacker Certified Questions 346–350 (page: 71)

Updated On: 10-Feb-2026

An attacker has been successfully modifying the purchase price of items purchased at a web site. The security administrators verify the web server and Oracle database have not been compromised directly. They have also verified the IDS logs and found no attacks that could have caused this. What is the mostly likely way the attacker has been able to modify the price?

  1. By using SQL injection
  2. By using cross site scripting
  3. By changing hidden form values in a local copy of the web page
  4. There is no way the attacker could do this without directly compromising either the web server or the database

Answer(s): C

Explanation:

Changing hidden form values is possible when a web site is poorly built and is trusting the visitors computer to submit vital data, like the price of a product, to the database.



Dan is conducting a penetration testing and has found a vulnerability in a Web Application which gave him the sessionID token via a cross site scripting vulnerability. Dan wants to replay this token. However, the session ID manager (on the server) checks the originating IP address as well. Dan decides to spoof his IP address in order to replay the sessionID. Why do you think Dan might not be able to get an interactive session?

  1. Dan cannot spoof his IP address over TCP network
  2. The server will send replies back to the spoofed IP address
  3. Dan can establish an interactive session only if he uses a NAT
  4. The scenario is incorrect as Dan can spoof his IP and get responses

Answer(s): B

Explanation:

Spoofing your IP address is only effective when there is no need to establish a two way connection as all traffic meant to go to the attacker will end up at the place of the spoofed address.



What are the differences between SSL and S-HTTP?

  1. SSL operates at the network layer and S-HTTP operates at the application layer
  2. SSL operates at the application layer and S-HTTP operates at the network layer
  3. SSL operates at the transport layer and S-HTTP operates at the application layer
  4. SSL operates at the application layer and S-HTTP operates at the transport layer

Answer(s): C

Explanation:

The main difference between the protocols is the layer at which they operate. SSL operates at the transport layer and mimics the "socket library, " while S-HTTP operates at the application layer. Encryption of the transport layer allows SSL to be application-independent, while S-HTTP is limited to the specific software implementing it. The protocols adopt different philosophies towards encryption as well, with SSL encrypting the entire communications channel and S-HTTP encrypting each message independently.



Kevin sends an email invite to Chris to visit a forum for security professionals. Chris clicks on the link in the email message and is taken to a web based bulletin board. Unknown to Chris, certain functions are executed on his local system under his privileges, which allow Kevin access to information used on the BBS. However, no executables are downloaded and run on the local system. What would you term this attack?

  1. Phishing
  2. Denial of Service
  3. Cross Site Scripting
  4. Backdoor installation

Answer(s): C

Explanation:

This is a typical Type-1 Cross Site Scripting attack. This kind of cross-site scripting hole is also referred to as a non-persistent or reflected vulnerability, and is by far the most common type. These holes show up when data provided by a web client is used immediately by server-side scripts to generate a page of results for that user. If unvalidated user-supplied data is included in the resulting page without HTML encoding, this will allow client-side code to be injected into the dynamic page. A classic example of this is in site search engines: if one searches for a string which includes some HTML special characters, often the search string will be redisplayed on the result page to indicate what was searched for, or will at least include the search terms in the text box for easier editing. If all occurrences of the search terms are not HTML entity encoded, an XSS hole will result.



Bill has successfully executed a buffer overflow against a Windows IIS web server. He has been able to spawn an interactive shell and plans to deface the main web page. He first attempts to use the "echo" command to simply overwrite index.html and remains unsuccessful. He then attempts to delete the page and achieves no progress. Finally, he tries to overwrite it with another page in which also he remains unsuccessful. What is the probable cause of Bill's problem?

  1. You cannot use a buffer overflow to deface a web page
  2. There is a problem with the shell and he needs to run the attack again
  3. The HTML file has permissions of read only
  4. The system is a honeypot

Answer(s): C



Viewing page 71 of 154
Viewing questions 351 - 355 out of 765 questions


Post your Comments and Discuss EC-Council 312-50 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!