nerdexam
EC-Council

312-50V9 · Question #115

An attacker has been successfully modifying the purchase price of items purchased on the company's web site. The security administrators verify the web server and Oracle database have not been…

The correct answer is B. By changing hidden form values. The attacker modified hidden HTML form fields containing the purchase price before the request was submitted, bypassing server-side controls without touching the web server or database directly.

Hacking Web Applications

Question

An attacker has been successfully modifying the purchase price of items purchased on the company's web site. The security administrators verify the web server and Oracle database have not been compromised directly. They have also verified the Intrusion Detection System (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 purchase price?

Options

  • ABy using SQL injection
  • BBy changing hidden form values
  • CBy using cross site scripting
  • DBy utilizing a buffer overflow attack

How the community answered

(31 responses)
  • A
    10% (3)
  • B
    81% (25)
  • C
    6% (2)
  • D
    3% (1)

Why each option

The attacker modified hidden HTML form fields containing the purchase price before the request was submitted, bypassing server-side controls without touching the web server or database directly.

ABy using SQL injection

SQL injection targets the database through malformed query input, but the problem states the Oracle database was not compromised, ruling this out.

BBy changing hidden form valuesCorrect

Hidden form fields in HTML can store values such as item prices that are not displayed to the user but are sent to the server on form submission. An attacker can view the page source or use a web proxy to intercept and alter these values before they reach the server. Because the manipulation occurs entirely on the client side, no server compromise occurs and no IDS signature is triggered.

CBy using cross site scripting

Cross-site scripting injects malicious scripts into pages viewed by other users and is not a mechanism for directly altering transaction prices on a form.

DBy utilizing a buffer overflow attack

Buffer overflow attacks exploit memory vulnerabilities to compromise the server process itself, which the administrators confirmed did not occur.

Concept tested: Hidden form field tampering for price manipulation

Source: https://owasp.org/www-community/attacks/Web_Parameter_Tampering

Topics

#hidden form fields#web application tampering#parameter manipulation#e-commerce security

Community Discussion

No community discussion yet for this question.

Full 312-50V9 Practice