Package: libproxychains3
Version: 3.1-6
Severity: normal

I'm getting a segfault in 'proxy_getaddrinfo' running nmap 6.47 throught 
proxychains.
The command was of the form "proxychains nmap XX.XX.XX.XX -A", where the target 
of the scan was some webserver behind cloudflare.
The crash is always reproducible. The first proxy I'm chaining throught is 
socks4 (Tor), the second socks5, both without password. 
I have strict_chain and proxy_dns enabled in /etc/proxychains.conf, the rest of 
the options are left by default.
A copy of stdout and a backtrace follow, with some (hopefully irrelevant) 
numbers edited out :

# proxychains gdb --args nmap XX:XX:XX:XX -A              
ProxyChains-3.1 (http://proxychains.sf.net)
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from nmap...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/nmap XX:XX:XX:XX -A
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Starting Nmap 6.47 ( http://nmap.org ) at 2015-04-06 ZZ:ZZ ZZZ
|S-chain|-<>-127.0.0.1:9050-<>-YY.YY.YY.YY:YY-<><>-XX:XX:XX:XX:80-<><>-OK
|S-chain|-<>-127.0.0.1:9050-<>-YY.YY.YY.YY:YY-<><>-XX:XX:XX:XX:443-<><>-OK
|S-chain|-<>-127.0.0.1:9050-<>-YY.YY.YY.YY:YY-<><>-XX:XX:XX:XX:8080-<><>-OK
|S-chain|-<>-127.0.0.1:9050-<>-YY.YY.YY.YY:YY-<><>-XX:XX:XX:XX:8443-<><>-OK
|S-chain|-<>-127.0.0.1:9050-<>-YY.YY.YY.YY:YY-<><>-XX:XX:XX:XX:443-<><>-OK
|S-chain|-<>-127.0.0.1:9050-<>-YY.YY.YY.YY:YY-<><>-XX:XX:XX:XX:8443-<><>-OK
|S-chain|-<>-127.0.0.1:9050-<>-YY.YY.YY.YY:YY-<><>-XX:XX:XX:XX:80-<><>-OK
|S-chain|-<>-127.0.0.1:9050-<>-YY.YY.YY.YY:YY-<><>-XX:XX:XX:XX:443-<><>-OK
|S-chain|-<>-127.0.0.1:9050-<>-YY.YY.YY.YY:YY-<><>-XX:XX:XX:XX:8080-<><>-OK
|S-chain|-<>-127.0.0.1:9050-<>-YY.YY.YY.YY:YY-<><>-XX:XX:XX:XX:80-<><>-OK
|S-chain|-<>-127.0.0.1:9050-<>-YY.YY.YY.YY:YY-<><>-XX:XX:XX:XX:8443-<><>-OK
|S-chain|-<>-127.0.0.1:9050-<>-YY.YY.YY.YY:YY-<><>-XX:XX:XX:XX:8443-<><>-OK
|S-chain|-<>-127.0.0.1:9050-<>-YY.YY.YY.YY:YY-<><>-XX:XX:XX:XX:8080-<><>-OK
|S-chain|-<>-127.0.0.1:9050-<>-YY.YY.YY.YY:YY-<><>-XX:XX:XX:XX:443-<><>-OK
|S-chain|-<>-127.0.0.1:9050-<>-YY.YY.YY.YY:YY-<><>-XX:XX:XX:XX:443-<><>-OK
|S-chain|-<>-127.0.0.1:9050-<>-YY.YY.YY.YY:YY-<><>-XX:XX:XX:XX:443-<><>-OK

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6c5fd2b in proxy_getaddrinfo () from 
/usr/lib/x86_64-linux-gnu/libproxychains.so.3
(gdb) bt
#0  0x00007ffff6c5fd2b in proxy_getaddrinfo () from 
/usr/lib/x86_64-linux-gnu/libproxychains.so.3
#1  0x00000000004a368e in ?? ()
#2  0x00007ffff5f2cc3d in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#3  0x00007ffff5f3859d in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#4  0x00007ffff5f2ce30 in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#5  0x00007ffff5f2c5bf in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#6  0x00007ffff5f2d02c in lua_resume () from 
/usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#7  0x00007ffff5f3cf64 in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#8  0x00007ffff5f3d2d1 in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#9  0x00007ffff5f2cc3d in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#10 0x00007ffff5f38633 in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#11 0x00007ffff5f2cfa8 in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#12 0x00007ffff5f290ab in lua_callk () from 
/usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#13 0x000000000049f4c6 in ?? ()
#14 0x00007ffff5f2cc3d in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#15 0x00007ffff5f2cf72 in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#16 0x00007ffff5f2c5bf in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#17 0x00007ffff5f2d201 in ?? () from /usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#18 0x00007ffff5f29186 in lua_pcallk () from 
/usr/lib/x86_64-linux-gnu/liblua5.2.so.0
#19 0x00000000004a0d94 in script_scan(std::vector<Target*, 
std::allocator<Target*> >&, stype) ()
#20 0x000000000044bef6 in nmap_main(int, char**) ()
#21 0x00000000004285e7 in main ()
(gdb)


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.19.0 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libproxychains3 depends on:
ii  libc6              2.19-17
ii  multiarch-support  2.19-17

Versions of packages libproxychains3 recommends:
ii  dnsutils  1:9.9.5.dfsg-9

Versions of packages libproxychains3 suggests:
ii  proxychains  3.1-6

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to