SQL-Ledger and LedgerSMB terminal file include
| sqlledger-ledgersmb-terminal-file-include (28885) |
Description:
SQL-Ledger and LedgerSMB could allow a remote attacker to include arbitrary files. A remote attacker could send a specially-crafted URL request to the login.pl or admin.pl files using the terminal parameter to specify a malicious file from a remote or the local system, which could allow the attacker to obtain sensitive information or execute arbitrary code on the vulnerable Web server.
Note: In order to exploit this vulnerability to execute arbitrary code using a local file, the attacker would first be required to upload a malicious file or inject arbitrary commands into an existing file.
Platforms Affected:
- Debian, Debian Linux 3.1
- DWS Systems, SQL-Ledger prior to 2.6.19
- LedgerSMB, LedgerSMB 1.0.0
Remedy:
For SQL-Ledger:
Upgrade to the latest version of SQL-Ledger, 2.6.19 or later, available from the SQL-Ledger Web site. See References.
For LedgerSMB:
Upgrade to the latest version of LedgerSMB, 1.0.0p1 or later, available from the SourceForge.net Web site. See References.
For Debian GNU/Linux:
Refer to DSA-1239-1 for patch, upgrade or suggested workaround information. See References.
For other distributions:
Contact your vendor for patch or upgrade information.
Consequences:
Gain Access
References:
- BugTraq Mailing List, Mon Sep 11 2006 - 22:00:35 CDT , LedgerSMB 1.0.0 and SQL-Ledger 2.6.18 and earler arbitrary code execution at http://archives.neohapsis.com/archives/bugtraq/2006-09/0177.html.
- SourceForge.net, LedgerSMB at http://sourceforge.net/project/shownotes.php?group_id=175965&release_id=446778.
- SourceForge.net: Files, LedgerSMB - File Release Notes and Changelog - Release Name: 1.0.0p1 at http://sourceforge.net/project/shownotes.php?group_id=175965&release_id=446778.
- SQL-Ledger Accounting Web site, SQL-Ledger Accounting at http://www.sql-ledger.org/cgi-bin/nav.pl?page=about.html&title=About.
- SQL-Ledger Web site, What's New at http://www.sql-ledger.org/cgi-bin/nav.pl?page=news.html&title=What's%20New.
- BID-19960: SQL-Ledger/LedgerSMB Terminal Parameter Directory Traversal Vulnerability
- CVE-2006-4731: Multiple directory traversal vulnerabilities in (1) login.pl and (2) admin.pl in (a) SQL-Ledger before 2.6.19 and (b) LedgerSMB before 1.0.0p1 allow remote attackers to execute arbitrary Perl code via an unspecified terminal parameter value containing ../ (dot dot slash).
- DSA-1239: sql-ledger -- several vulnerabilities
- SA21824: LedgerSMB "terminal" Parameter Perl Code Execution
- SA21886: SQL-Ledger "terminal" Parameter Perl Code Execution
- VUPEN/ADV-2006-3554: LedgerSMB terminal Parameter Handling Remote Perl Code Injection Vulnerability
- VUPEN/ADV-2006-3555: SQL-Ledger terminal Parameter Handling Remote Perl Code Injection Vulnerability
Reported:
Sep 11, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
