Vulnerability Development mailing list archives

samba base64 encode vulnerability


From: infamous41md () hotpop com
Date: Fri, 23 Jul 2004 02:24:39 -0400

a question about exploiting the samba vuln.

    if (*s == '=') n -= 1;

    /* fix up length */
    decoded.length = n;

    memcpy(s, decoded.data, decoded.length);

if n == 0 before it is decremented, then it will wrap around to ~0 and the memcpy will eventually SEGFAULT.  but can 
you exploit it still?

-- 
-sean-- 
-sean


Current thread: