Description
Directory traversal vulnerability in am.pl in SQL-Ledger 2.6.27 only checks for the presence of a NULL (%00) character to protect against directory traversal attacks, which allows remote attackers to run arbitrary executables and bypass authentication via a .. (dot dot) sequence in the login parameter.
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.8.14-1 | — |
| Debian 13 | sql-ledger | 2.8.14-1 | — |
| Debian 12 | sql-ledger | 2.8.14-1 | — |
References
- 24560 third-party-advisory
- http://sql-ledger.com/cgi-bin/nav.pl?page=news.html&title=What%27s%20New
- ADV-2007-1025 vdb-entry
- 20070318 Full Disclosure: Arbitrary execution vulnerability in SQL-Ledger and LedgerSMB mailing-list
- 23034 vdb-entry