Secunia Security Advisory - A weakness and multiple vulnerabilities have been discovered in LotusCMS, which can be exploited by malicious users to disclose sensitive information and compromise a vulnerable system and by malicious people to conduct cross-site scripting and request forgery attacks, disclose sensitive information, and compromise a vulnerable system.
54d618bb2cdf94c9499d51739075584986322d04f62c330cab56e5f7f800c8b4
----------------------------------------------------------------------
Get a tax break on purchases of Secunia Solutions!
If you are a U.S. company, you may be qualified for a tax break for your software purchases. Learn more at:
http://secunia.com/products/corporate/vim/section_179/
----------------------------------------------------------------------
TITLE:
LotusCMS Multiple Vulnerabilities
SECUNIA ADVISORY ID:
SA43682
VERIFY ADVISORY:
Secunia.com
http://secunia.com/advisories/43682/
Customer Area (Credentials Required)
https://ca.secunia.com/?page=viewadvisory&vuln_id=43682
RELEASE DATE:
2011-03-16
DISCUSS ADVISORY:
http://secunia.com/advisories/43682/#comments
AVAILABLE ON SITE AND IN CUSTOMER AREA:
* Last Update
* Popularity
* Comments
* Criticality Level
* Impact
* Where
* Solution Status
* Operating System / Software
* CVE Reference(s)
http://secunia.com/advisories/43682/
ONLY AVAILABLE IN CUSTOMER AREA:
* Authentication Level
* Report Reliability
* Secunia PoC
* Secunia Analysis
* Systems Affected
* Approve Distribution
* Remediation Status
* Secunia CVSS Score
* CVSS
https://ca.secunia.com/?page=viewadvisory&vuln_id=43682
ONLY AVAILABLE WITH SECUNIA CSI AND SECUNIA PSI:
* AUTOMATED SCANNING
http://secunia.com/vulnerability_scanning/personal/
http://secunia.com/vulnerability_scanning/corporate/wsus_sccm_3rd_third_party_patching/
DESCRIPTION:
A weakness and multiple vulnerabilities have been discovered in
LotusCMS, which can be exploited by malicious users to disclose
sensitive information and compromise a vulnerable system and by
malicious people to conduct cross-site scripting and request forgery
attacks, disclose sensitive information, and compromise a vulnerable
system.
1) Input passed via the "active" parameter to index.php (when
"system" is set to "Users" or "Editor" and "page" is set to "edit" or
"editor") is not properly sanitised before being returned to the user.
This can be exploited to execute arbitrary HTML and script code in a
user's browser session in context of an affected site.
2) The application allows users to perform certain actions via HTTP
requests without making proper validity checks to verify the
requests. This can be exploited to e.g. add an administrator to the
application or conduct script insertion attacks by tricking an
administrator into visiting a malicious web site while being
logged-in to the application.
3) The "saveFile()" function in core/lib/cacher.php script displays
different error messages depending on the existence of a user passed
via the "page" parameter to index.php. This can be exploited to
enumerate existing users of the system via directory traversal
sequences.
4) The application stores backup files with a predictable file name
inside the web root, which can be exploited to disclose sensitive
information by downloading the file.
5) Input passed via the "active" parameter to index.php (when
"system" is set to "Editor" and "page" is set to "editor") is not
properly verified before being used to read files. This can be
exploited to read arbitrary files from local resources via directory
traversal sequences and URL-encoded NULL bytes.
Successful exploitation of this vulnerability requires "editor"
access and that "magic_quotes_gpc" is disabled.
6) Input passed via the "page" parameter to index.php is not properly
verified in the "openFile()" function in core/model/PageModel.php
before being used to read files. This can be exploited to read
arbitrary files from local resources via directory traversal
sequences and URL-encoded NULL bytes.
Successful exploitation of this vulnerability requires that
"magic_quotes_gpc" is disabled.
7) The vulnerability is caused due to the "FileManger" module not
properly validating uploaded file types, which can be exploited to
execute arbitrary PHP code by uploading a PHP file.
Successful exploitation of this vulnerability requires "editor"
access.
8) Input passed via the "req" parameter to index.php (when system" is
set to "Modules", "page" is set to "admin", and "active" is set to
Menu") is not properly sanitised before being used in an "eval()"
call. This can be exploited to execute arbitrary PHP code.
Successful exploitation of this vulnerability requires "editor"
access.
9) Input passed via the "page" parameter to index.php is not properly
sanitised in the "Router()" function in core/lib/router.php before
being used in an "eval()" call. This can be exploited to execute
arbitrary PHP code.
Successful exploitation of this vulnerability requires that
"magic_quotes_gpc" is disabled.
The vulnerabilities are confirmed in version 3.0.3. Other versions
may also be affected.
SOLUTION:
Update to version 3.0.5, which fixes vulnerabilities #1, #3, #5, and
#6. Do not browse untrusted web sites or follow untrusted links while
being logged-in to the application. Restrict access to the
modules/Backup/zips directory (e.g. via .htaccess). Grant only
trusted users "editor" access. Edit the source code to ensure that
input is properly sanitised.
PROVIDED AND/OR DISCOVERED BY:
1, 3-5, and 7-9) Secunia Research
2, 6) Independently discovered by Secunia Research and High-Tech
Bridge SA.
ORIGINAL ADVISORY:
Secunia Research:
http://secunia.com/secunia_research/2011-15/
http://secunia.com/secunia_research/2011-16/
http://secunia.com/secunia_research/2011-17/
http://secunia.com/secunia_research/2011-18/
http://secunia.com/secunia_research/2011-19/
http://secunia.com/secunia_research/2011-20/
http://secunia.com/secunia_research/2011-21/
LotusCMS:
http://forum.lotuscms.org/viewtopic.php?f=3&t=159
High-Tech Bridge SA:
http://www.htbridge.ch/advisory/xsrf_csrf_in_lotuscms.html
http://www.htbridge.ch/advisory/file_content_disclosure_in_lotuscms.html
OTHER REFERENCES:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/
DEEP LINKS:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/
EXTENDED DESCRIPTION:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/
EXTENDED SOLUTION:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/
EXPLOIT:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/
----------------------------------------------------------------------
About:
This Advisory was delivered by Secunia as a free service to help
private users keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/advisories/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.
----------------------------------------------------------------------