CVE-2003-0826
published 2003-10-06CVE-2003-0826: lsh daemon (lshd) does not properly return from certain functions in (1) read_line.c, (2) channel_commands.c, or (3) client_keyexchange.c when long input is…
PriorityP341high7.5CVSS 2.0
AVNACLAuNCPIPAP
EXPLOIT
EPSS
11.82%
95.6th percentile
lsh daemon (lshd) does not properly return from certain functions in (1) read_line.c, (2) channel_commands.c, or (3) client_keyexchange.c when long input is provided, which could allow remote attackers to execute arbitrary code via a heap-based buffer overflow attack.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | lsh-utils | < lsh-utils 1.4.2-6 (bookworm) | lsh-utils 1.4.2-6 (bookworm) |
| gnu | lsh | — | — |
| gnu | lsh | — | — |
| gnu | lsh | — | — |
CVSS provenance
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv7.5HIGH
vendor_debian7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-pgp8-cv9p-r5m2: lsh daemon (lshd) does not properly return from certain functions in (1) read_line
ghsa_unreviewed·2022-04-29
CVE-2003-0826 [HIGH] GHSA-pgp8-cv9p-r5m2: lsh daemon (lshd) does not properly return from certain functions in (1) read_line
lsh daemon (lshd) does not properly return from certain functions in (1) read_line.c, (2) channel_commands.c, or (3) client_keyexchange.c when long input is provided, which could allow remote attackers to execute arbitrary code via a heap-based buffer overflow attack.
OSV
CVE-2003-0826: lsh daemon (lshd) does not properly return from certain functions in (1) read_line
osv·2003-10-06·CVSS 7.5
CVE-2003-0826 [HIGH] CVE-2003-0826: lsh daemon (lshd) does not properly return from certain functions in (1) read_line
lsh daemon (lshd) does not properly return from certain functions in (1) read_line.c, (2) channel_commands.c, or (3) client_keyexchange.c when long input is provided, which could allow remote attackers to execute arbitrary code via a heap-based buffer overflow attack.
Debian
CVE-2003-0826: lsh-utils - lsh daemon (lshd) does not properly return from certain functions in (1) read_li...
vendor_debian·2003·CVSS 7.5
CVE-2003-0826 [HIGH] CVE-2003-0826: lsh-utils - lsh daemon (lshd) does not properly return from certain functions in (1) read_li...
lsh daemon (lshd) does not properly return from certain functions in (1) read_line.c, (2) channel_commands.c, or (3) client_keyexchange.c when long input is provided, which could allow remote attackers to execute arbitrary code via a heap-based buffer overflow attack.
Scope: local
bookworm: resolved (fixed in 1.4.2-6)
bullseye: resolved (fixed in 1.4.2-6)
sid: resolved (fixed in 1.4.2-6)
No detection rules found.
Exploit-DB
LSH 1.x - Remote Buffer Overflow (1)
exploitdb·2003-09-19
CVE-2003-0826 LSH 1.x - Remote Buffer Overflow (1)
LSH 1.x - Remote Buffer Overflow (1)
---
// source: https://www.securityfocus.com/bid/8655/info
lsh has been reported prone to a remote buffer overflow vulnerability. The condition is reported to present itself in fairly restrictive circumstances, and has been reported to be exploitable pre-authentication. Successful exploitation could result in the execution of arbitrary attacker supplied instructions in the context of the affected daemon.
/*
Remote r00t exploit for lsh 1.4.x
by Haggis aka Carl Livitt - carl.learningshophull@co@uk
19/09/2003
Latest version should always be available from
http://doris.scriptkiddie.net
Spawns bindshell on port 12345 of remote host.
Handily, it also bypasses non-exec stack protection as the
shellcode is on the heap.
NOTE: This exploit _only_ works if
Exploit-DB
LSH 1.x - Remote Buffer Overflow (2)
exploitdb·2003-09-19
CVE-2003-0826 LSH 1.x - Remote Buffer Overflow (2)
LSH 1.x - Remote Buffer Overflow (2)
---
// source: https://www.securityfocus.com/bid/8655/info
lsh has been reported prone to a remote buffer overflow vulnerability. The condition is reported to present itself in fairly restrictive circumstances, and has been reported to be exploitable pre-authentication. Successful exploitation could result in the execution of arbitrary attacker supplied instructions in the context of the affected daemon.
/* m00-lshd22.c
*
* lshd 1.3-1.5 remote root exploit by m00 security // www.m00.ru
*
* Binds shell on port 61200.
* Based on lsh_exploit.c by Haggis aka Carl Livitt // doris.scriptkiddie.net
*
* Available targets:
* SuSE 8.1 - LSH v1.4 (heap)
* RedHat 7.3 - LSH v1.3.* (stack)
* RedHat 7.3 - LSH v1.4 (heap)
* RedHat 7.3 - LSH v1.4 (stack)
* RedHat 8.
No writeups or analysis indexed.
http://bugs.debian.org/211662http://lists.grok.org.uk/pipermail/full-disclosure/2003-September/010496.htmlhttp://lists.lysator.liu.se/pipermail/lsh-bugs/2003q3/000120.htmlhttp://marc.info/?l=bugtraq&m=106398939512178&w=2http://marc.info/?l=bugtraq&m=106407188509874&w=2http://www.debian.org/security/2005/dsa-717http://bugs.debian.org/211662http://lists.grok.org.uk/pipermail/full-disclosure/2003-September/010496.htmlhttp://lists.lysator.liu.se/pipermail/lsh-bugs/2003q3/000120.htmlhttp://marc.info/?l=bugtraq&m=106398939512178&w=2http://marc.info/?l=bugtraq&m=106407188509874&w=2http://www.debian.org/security/2005/dsa-717
2003-10-06
Published