CWEweakness
CWE-472 External Control of Assumed-Immutable Web Parameter
- Alternate terms
- Assumed-Immutable Parameter Tampering
- Abstraction
- Base
- Structure
- Simple
- Status
- Draft
- Languages
- Not Language-Specific, Python
- CWE version
- 5.0
Description
The web application does not sufficiently verify inputs that are assumed to be immutable but are actually externally controllable, such as hidden form fields.
Extended description
For example, custom cookies commonly store session data or persistent data across sessions. This kind of session data is normally involved in security related decisions on the server side, such as user authentication and access control. Thus, the cookies might contain sensitive data such as user credentials and privileges. This is a dangerous practice, as it can often lead to improper reliance on the value of the client-provided cookie by the server side application.
Common consequences
• Integrity: Modify Application Data — Without appropriate protection mechanisms, the client can easily tamper with cookies and similar web data. Reliance on the cookies without detailed validation can lead to problems such as SQL injection. If you use cookie values for security related decisions on the server side, manipulating the cookies might lead to violations of security policies such as authentication bypassing, user impersonation and privilege escalation. In addition, storing sensitive data in the cookie without appropriate protection can also lead to disclosure of sensitive user data, especially data stored in persistent cookies.
• Integrity: Bypass Protection Mechanism — If cookie values are used for security related decisions on the server side, manipulating the cookies might lead to violations of security policies such as authentication bypassing, user impersonation, and privilege escalation.
• Confidentiality: Read Application Data — Storing sensitive data in the cookie without appropriate protection can also lead to disclosure of sensitive user data, especially data stored in persistent cookies.
Potential mitigations
• [Implementation] Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as "red" or "blue."
Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.
• [Implementation] Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.
Detection methods
• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Observed examples
• CVE-2002-0108: Forum product allows spoofed messages of other users via hidden form fields for name and e-mail address.
• CVE-2000-0253: Shopping cart allows price modification via hidden form field.
• CVE-2000-0254: Shopping cart allows price modification via hidden form field.
• CVE-2000-0926: Shopping cart allows price modification via hidden form field.
• CVE-2000-0101: Shopping cart allows price modification via hidden form field.
• CVE-2000-0102: Shopping cart allows price modification via hidden form field.
• CVE-2000-0758: Allows admin access by modifying value of form field.
• CVE-2002-1880: Read messages by modifying message ID parameter.
• CVE-2000-1234: Send email to arbitrary users by modifying email parameter.
• CVE-2005-1652: Authentication bypass by setting a parameter.
• CVE-2005-1784: Product does not check authorization for configuration change admin script, leading to password theft via modified e-mail address field.
• CVE-2005-2314: Logic error leads to password disclosure.
• CVE-2005-1682: Modification of message number parameter allows attackers to read other people's messages.
Related
Attack pattern · CAPEC (4)
Observed example · CVE (13)
- CVE-2005-2314 inc.login.php in PHPsFTPd 0.2 through 0.4 allows remote attackers to obtain the administrator's username and password by setting the… vulnerability
- CVE-2005-1784 Hosting Controller 6.1 HotFix 2.0 and earlier allows remote attackers to steal passwords and gain privileges via a modified emailaddress… vulnerability
- CVE-2005-1682 JavaMail API, as used by Solstice Internet Mail Server POP3 2.0, does not properly validate the message number in the MimeMessage… vulnerability
- CVE-2005-1652 message.htm for Woppoware PostMaster 4.2.2 (build 3.2.5) allows remote attackers to bypass authentication by modifying the email parameter. vulnerability
- CVE-2002-1880 LokwaBB 1.2.2 allows remote attackers to read arbitrary messages by modifying the pmid parameter to pm.php. vulnerability
- CVE-2002-0108 Allaire Forums 2.0.4 and 2.0.5 and Forums! vulnerability
- CVE-2000-1234 violation.php3 in Phorum 3.0.7 allows remote attackers to send e-mails to arbitrary addresses and possibly use Phorum as a "spam proxy" by… vulnerability
- CVE-2000-0926 SmartWin CyberOffice Shopping Cart 2 (aka CyberShop) allows remote attackers to modify price information by changing the "Price" hidden… vulnerability
- CVE-2000-0758 The web interface for Lyris List Manager 3 and 4 allows list subscribers to obtain administrative access by modifying the value of the… vulnerability
- CVE-2000-0254 The dansie shopping cart application cart.pl allows remote attackers to obtain the shopping cart database and configuration information via… vulnerability
- CVE-2000-0253 The dansie shopping cart application cart.pl allows remote attackers to modify sensitive purchase information via hidden form fields. vulnerability
- CVE-2000-0101 The Make-a-Store OrderPage shopping cart application allows remote users to modify sensitive purchase information via hidden form fields. vulnerability
- CVE-2000-0102 The SalesCart shopping cart application allows remote users to modify sensitive purchase information via hidden form fields. vulnerability
Child of · CWE (2)
Referenced by CAPEC · weakness (4)
Referenced by CVE · weakness (167)
- CVE-2026-115450 External Control of Assumed-Immutable Web Parameter (CWE-472) in the cart and checkout flow of MarcosCamara01 Ecommerce Template allows an… vulnerability
- CVE-2026-111447 Wheels 1.1 through 4.1.2 resolves nestedProperties() records by posted primary key without checking that they belong to the parent being… vulnerability
- CVE-2026-16453 Mattermost versions 11.10.x <= 11.10.0, 11.7.x <= 11.7.9, 11.9.x <= 11.9.1, 11.8.x <= 11.8.5 fail to verify the integrity of the SAML… vulnerability
- CVE-2026-77470 Lychee is a free, open-source photo-management tool. vulnerability
- CVE-2026-103671 External control of assumed-Immutable web parameter issue exists in EC-CUBE plugin (for EC-CUBE 4 series) "AmazonPay Plugin". vulnerability
- CVE-2026-55384 InvoiceShelf is an open-source web & mobile app that helps track expenses, payments and create professional invoices and estimates. vulnerability
- CVE-2026-103080 External Control of Assumed-Immutable Web Parameter vulnerability in VillaTheme Salevo woo-boost-sales allows Input Data Manipulation.This… vulnerability
- CVE-2026-107636 pH7Builder (pH7 Social Dating CMS) before 18.5.1 contains a payment validation vulnerability that allows registered low-privileged members… vulnerability
- CVE-2026-105322 The Magee Shortcodes WordPress plugin through 2.1.1 does not restrict the recipient of some of its unauthenticated contact-form actions,… vulnerability
- CVE-2026-107363 In OpenStack Zaqar before 23.0.1, the WebSocket transport fails to bind the project identifier in subsequent requests to the project… vulnerability
- CVE-2026-90987 The Easy PayPal & Stripe Buy Now Button WordPress plugin before 2.0.6 does not derive the payment amount on the server, taking it from a… vulnerability
- CVE-2026-91020 The WebToffee Gift Cards for WooCommerce WordPress plugin before 1.3.1 does not validate a user-supplied gift card amount server-side… vulnerability
- CVE-2026-86838 The Bookly WordPress plugin before 28.3 does not validate client-supplied booking quantity values on the server before computing the… vulnerability
- CVE-2026-85010 The RestroPress WordPress plugin before 3.4.6 does not validate a client-supplied item add-on price on the server side when items are added… vulnerability
- CVE-2026-94374 MISP contains an insecure direct object reference vulnerability in the processModuleResultsData method of the Event model. vulnerability
- CVE-2026-82189 Joomla Extension - j2commerce.com - Any order can be marked Failed by anyone in J2Store 1.0.0-3.3.2, 4.0.0-4.0.22, 4.1.0-4.1.7 -… vulnerability
- CVE-2026-77999 Joomla Extension - j2commerce.com - Unauthenticated PayPal callback forgery leading to order confirmation fraud in J2Store 1.0.0-3.3.21,… vulnerability
- CVE-2026-84762 Unauthenticated Bypass Vulnerability in WP EasyPay <= 4.5.3 versions. vulnerability
- CVE-2026-77794 The RegistrationMagic WordPress plugin before 6.0.9.9 does not validate a client-supplied quantity multiplier when calculating the total… vulnerability
- CVE-2026-84654 In Stapler 2107.v8dfcb_e8ed317 and earlier, except 2088.2093.vd7c3e58008a_6, included in Jenkins 2.579 and earlier, LTS 2.568.2 and… vulnerability
- CVE-2026-67363 Joomla Extension - balbooa.com - Pre-auth Payment Amount Tampering in Balbooa Forms < 2.4.3.2 - The stripeCharges and payAuthorize… vulnerability
- CVE-2026-15045 The Wallet System for WooCommerce WordPress plugin before 2.7.10 does not validate a user-supplied wallet amount against the customer's… vulnerability
- CVE-2026-10524 The CoCart WordPress plugin before 4.9.0 does not validate a user-supplied price value against the actual product price when items are… vulnerability
- CVE-2026-15149 The WP Hotel Booking WordPress plugin before 2.3.3 does not ensure that room quantities and the resulting order total are non-negative when… vulnerability
- CVE-2026-16067 The Event Booking Manager for WooCommerce (Pro) WordPress plugin before 5.0.3 does not validate the ticket price on the server during its… vulnerability
- CVE-2026-16620 The WPC Name Your Price for WooCommerce WordPress plugin before 2.2.5 does not enforce its server-side price allowlist for products… vulnerability
- CVE-2026-1982 The Persian Elementor (المنتور فارسی) plugin for WordPress is vulnerable to Price Manipulation in all versions up to, and including, 2.8.1. vulnerability
- CVE-2026-7484 External control of Assumed-Immutable web parameter vulnerability in ABIS Technology Ltd. vulnerability
- CVE-2026-65052 Ninja Forms WordPress plugin version 3.14.8 and prior contains an improper input validation vulnerability that allows unauthenticated… vulnerability
- CVE-2026-16089 A flaw was found in the keycloak-services component of Red Hat Build of Keycloak. vulnerability
Referenced by CWE · can precede (1)
- CWE-656 Reliance on Security Through Obscurity weakness
Referenced by CWE · requires (1)
- CWE-384 Session Fixation weakness