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.
*CVSS:
| Base Score: | 7 |
| Access Vector: | Remote |
| Access Complexity: | Low |
| Authentication: | Not Required |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 5.2 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
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.
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.
- SourceForge.net: LedgerSMB.
- SourceForge.net: Files: LedgerSMB - File Release Notes and Changelog - Release Name: 1.0.0p1.
- SQL-Ledger Accounting Web site: SQL-Ledger Accounting.
- SQL-Ledger Web site: What's New.
- 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
Platforms Affected:
- Debian Debian Linux 3.1
- DWS Systems SQL-Ledger prior to 2.6.19
- LedgerSMB LedgerSMB 1.0.0
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
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
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 IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
