mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #1405] NETLMv2_fmt_plug.c:221: ASAN: heap-buffer-overflow #895
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#895
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @loverszhaokai on GitHub (Jun 7, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1405
This bug is found by afl.
#1. Reproduce
$ ./configure --enable-asan && make -sj8
$ cat pwfile
$ ./john pwfile
#2. GDB debug
@jfoug commented on GitHub (Jun 22, 2015):
I think this is fixed, but I could not get the problem to replicate (bad input file).
@loverszhaokai please retest after
5c0fdf3and if the problem is gone, close out this issue.@loverszhaokai commented on GitHub (Jun 22, 2015):
@jfoug Sorry. There is still a bug.
$ cat pwfile.hex
$ ../base64conv -q -i hex -o raw < pwfile.hex > pwfile
$ cat pwfile
$ ../john pwfile
@jfoug commented on GitHub (Jun 22, 2015):
This is what I get (asan build on fedora)
I just tested on ubuntu-64 with asan, same result
OK, I now get the crash. It was 2 lines, my bad.
@jfoug commented on GitHub (Jun 22, 2015):
Ok, the bug in NETLMv2 is 'fixed'. The asan problem now shows up in NETNTLMv2 which @magnumripper also pointed out will have this same 'bug'