CAPEC-162

Manipulating Hidden Fields
2014-06-23
00h00 +00:00
高危
Draft
2022-02-22
00h00 +00:00
指定 CAPEC 提醒
随时了解指定 CAPEC 的变更。
管理通知

CAPEC 描述

An adversary exploits a weakness in the server's trust of client-side processing by modifying data on the client-side, such as price information, and then submitting this data to the server, which processes the modified data. For example, eShoplifting is a data manipulation attack against an on-line merchant during a purchasing transaction. The manipulation of price, discount or quantity fields in the transaction message allows the adversary to acquire items at a lower cost than the merchant intended. The adversary performs a normal purchasing transaction but edits hidden fields within the HTML form response that store price or other information to give themselves a better deal. The merchant then uses the modified pricing information in calculating the cost of the selected items.

CAPEC 信息

执行流程

1) Explore

[Probe target web application] The adversary first probes the target web application to find all possible pages that can be visited on the website.

技术手段
  • Use a spidering tool to follow and record all links
  • Use a proxy tool to record all links visited during a manual traversal of the web application.
2) Explore

[Find hidden fields] Once the web application has been traversed, the adversary looks for all hidden HTML fields present in the client-side.

技术手段
  • Use the inspect tool on all modern browsers and filter for the keyword "hidden"
  • Specifically look for hidden fields inside form elements.
3) Experiment

[Send modified hidden fields to server-side] Once the adversary has found hidden fields in the client-side, they will modify the values of these hidden fields one by one and then interact with the web application so that this data is sent to the server-side. The adversary observes the response from the server to determine if the values of each hidden field are being validated.

4) Exploit

[Manipulate hidden fields] Once the adversary has determined which hidden fields are not being validated by the server, they will manipulate them to change the normal behavior of the web application in a way that benefits the adversary.

技术手段
  • Manipulate a hidden field inside a form element and then submit the form so that the manipulated data is sent to the server.

前提条件

The targeted site must contain hidden fields to be modified.
The targeted site must not validate the hidden fields with backend processing.

所需资源

The adversary must have the ability to modify hidden fields by editing the HTTP response to the server.

相关弱点

CWE-ID 弱点名称

CWE-602

Client-Side Enforcement of Server-Side Security
The product includes a server that relies on the client to implement a protection mechanism that is intended to protect the server.

提交记录

名称 组织 日期 发布日期
CAPEC Content Team The MITRE Corporation 2014-06-23 +00:00

修改记录

名称 组织 日期 备注
CAPEC Content Team The MITRE Corporation 2015-12-07 +00:00 Updated Related_Attack_Patterns
CAPEC Content Team The MITRE Corporation 2017-01-09 +00:00 Updated Related_Attack_Patterns
CAPEC Content Team The MITRE Corporation 2017-08-04 +00:00 Updated Attack_Prerequisites, Description Summary, Resources_Required
CAPEC Content Team The MITRE Corporation 2022-02-22 +00:00 Updated Execution_Flow