Bug 154328 - net-proxy/3proxy User DoS?
Bug#: 154328 Product:  Gentoo Security Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: INVALID Assigned To: security@gentoo.org Reported By: jaervosz@gentoo.org
Component: Vulnerabilities
URL:  http://www.security.nnov.ru/soft/3proxy/0.5.3a/Release.notes.txt
Summary: net-proxy/3proxy User DoS?
Keywords:  
Status Whiteboard: jaervosz
Opened: 2006-11-07 00:50 0000
Description:   Opened: 2006-11-07 00:50 0000
Fixed: NTLM authentication doesn't work for NT-encoded passwords and may
  cause account blocking (reported by boris16 at tut.by)

------- Comment #1 From Matthias Geerdsen 2006-11-09 06:02:42 0000 -------
CC'ing net-proxy

this does not really sound like a security issue, does it?

------- Comment #2 From Alin Năstac 2006-11-09 06:37:08 0000 -------
Created an attachment (id=101536) [details]
The only source file differences between 0.5.3 and 0.5.3a

This patch contains the only source file differences between 0.5.3 and 0.5.3a.

------- Comment #3 From Alin Năstac 2006-11-09 06:45:03 0000 -------
I've bumped the version to 0.5.3a, but I don't understand the problem. 

In first case, 2 pointers are converted to unsigned, then substracted, then the
result is casted to unsigned char.
In second case, 2 pointers are converted to (unsigned char*), then substracted,
then the result is casted to unsigned char.

At first look, I don't see any difference between those 2 cases. 
Mike, can you explain it, please?

------- Comment #4 From SpanKY 2006-11-09 15:54:50 0000 -------
that change is what i requested

the diff you should be reviewing is 0.5.2 to 0.5.3a

------- Comment #5 From Alin Năstac 2006-11-10 07:02:17 0000 -------
Doesn't look like a security issue to me. The only NTLM related change is in
proxy.c file:
        "HTTP/1.0 407 Proxy Authentication Required\r\n"
-       "Proxy-Authenticate: basic realm=\"proxy\"\r\n"
        "Proxy-Authenticate: NTLM\r\n"
+       "Proxy-Authenticate: basic realm=\"proxy\"\r\n"
        "Proxy-Connection: close\r\n"

------- Comment #6 From Sune Kloppenborg Jeppesen 2006-11-20 22:40:04 0000 -------
Alin/SpanKY any news on this one? Or is it INVALID?

------- Comment #7 From Alin Năstac 2006-11-20 22:50:11 0000 -------
I've looked over the diff between 0.5.2 and 0.5.3 and I didn't found a security
security issue in it. Ask Mike if he has knowledge of such issue (he isn't
member of net-proxy team so it doesn't receive this comment on email).

------- Comment #8 From Sune Kloppenborg Jeppesen 2006-11-20 23:56:39 0000 -------
Thx Alin. SpanKY is on the security team, so he should be getting these as
well.

------- Comment #9 From SpanKY 2006-11-28 17:31:27 0000 -------
not a security issue, thanks Alin for reviewing

i tend to read security lists in bulk ;)