Description
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).
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | sql-ledger | 2.6.19-1 | — |
| Debian 13 | sql-ledger | 2.6.19-1 | — |
| Debian 12 | sql-ledger | 2.6.19-1 | — |
| Debian 3.1 | sql-ledger | 2.4.7-2sarge1 | DSA-1239-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- SQL-Ledger 2.6.x/LedgerSMB 1.0 - 'Terminal' Directory Traversal EDB-28514 · webapps · Sep 12, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-1239-1 sql-ledger Debian Security (DSA / DLA) · Mar 9, 2026
References
- 19960 vdb-entry
- http://www.sql-ledger.org/cgi-bin/nav.pl?page=news.html&title=What%27s%20New
- http://sourceforge.net/project/shownotes.php?group_id=175965&release_id=446778
- 1553 third-party-advisory
- 21886 third-party-advisory
- ADV-2006-3555 vdb-entry
- sqlledger-ledgersmb-terminal-file-include(28885) vdb-entry
- http://svn.sourceforge.net/viewvc/ledger-smb/trunk/login.pl?r1=53&r2=69
- 20060912 LedgerSMB 1.0.0 and SQL-Ledger 2.6.18 and earler arbitrary code execution mailing-list
- ADV-2006-3554 vdb-entry
- 21824 third-party-advisory