Difference between revisions of "Parameter Delimiter"

From OWASP
Jump to: navigation, search
Line 1: Line 1:
 
{{Template:Attack}}
 
{{Template:Attack}}
 +
<br>
 +
[[Category:OWASP ASDR Project]]
 +
[[ASDR Table of Contents]]__TOC__
 +
  
 
==Description==
 
==Description==
 
This attack is based on manipulation of parameters delimiter used by web application input vectors, in order to cause unexpected behaviors like access control and authorization bypass, information disclosure, among others.
 
This attack is based on manipulation of parameters delimiter used by web application input vectors, in order to cause unexpected behaviors like access control and authorization bypass, information disclosure, among others.
  
==Severity==
+
==Risk Factors==
High
+
TBD
 
+
[[Category:FIXME|need content here]]
==Likelihood of exploitation==
+
Medium
+
  
 
==Examples ==
 
==Examples ==
Line 36: Line 38:
 
Although this vulnerability doesn’t allow manipulation of others user profiles, it allows privilege escalation for application users.
 
Although this vulnerability doesn’t allow manipulation of others user profiles, it allows privilege escalation for application users.
  
==External References==
 
*http://cwe.mitre.org/data/definitions/141.html
 
*http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2003-0307
 
  
==Related Threats==
+
==Related [[Threat Agents]]==
 
[[:Category: Authorization]]
 
[[:Category: Authorization]]
 
[[:Category: Command Execution]]
 
[[:Category: Command Execution]]
  
==Related Attacks==
+
==Related [[Attacks]]==
 
[[:Category:Injection Attack]]
 
[[:Category:Injection Attack]]
  
==Related Vulnerabilities==
+
==Related [[Vulnerabilities]]==
 
[[:Category: Input Validation Vulnerability]]
 
[[:Category: Input Validation Vulnerability]]
  
==Related Countermeasures==
+
==Related [[Controls]]==
 
[[:Category: Input Validation Vulnerability]]
 
[[:Category: Input Validation Vulnerability]]
 +
 +
==References==
 +
*http://cwe.mitre.org/data/definitions/141.html
 +
*http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2003-0307
 +
  
 
[[Category:Injection]]
 
[[Category:Injection]]
 
[[Category:Attack]]
 
[[Category:Attack]]

Revision as of 17:51, 13 September 2008

This is an Attack. To view all attacks, please see the Attack Category page.



ASDR Table of Contents


Description

This attack is based on manipulation of parameters delimiter used by web application input vectors, in order to cause unexpected behaviors like access control and authorization bypass, information disclosure, among others.

Risk Factors

TBD

Examples

In order to illustrate this vulnerability, it’ll be used a vulnerability found on Poster V2, a posting system based on PHP programming language.

This application has a dangerous vulnerability that allows inserting data into user fields (username, password, email address and privileges) in “mem.php” file, which is responsible for managing application user.

An example of the file “mem.php”, where user Jose has admin privileges and Alice user access:

<?
Jose|12345678|jose@attack.com|admin|
Alice|87654321|alice@attack.com|normal|
?>

When a user wants to edit his profile, he must use edit account” option in the “index.php” page and enter his login information. However, using “|” as a parameter delimiter on email field followed by “admin”, the user could elevate his privileges to administrator. Example:

Username: Alice
Password: 87654321
Email: alice@attack.com |admin| 

This information will be recorded in “mem.php” file like this:

Alice|87654321|alice@attack.com|admin|normal|

In this case, the last parameter delimiter considered is “|admin|” and the user could elevate his privileges by assigning administrator profile.

Although this vulnerability doesn’t allow manipulation of others user profiles, it allows privilege escalation for application users.


Related Threat Agents

Category: Authorization Category: Command Execution

Related Attacks

Category:Injection Attack

Related Vulnerabilities

Category: Input Validation Vulnerability

Related Controls

Category: Input Validation Vulnerability

References