Netscape Communicator 4.5 prefs.js Buffer Overflow Vulnerability
BID:893
Info
Netscape Communicator 4.5 prefs.js Buffer Overflow Vulnerability
| Bugtraq ID: | 893 |
| Class: | Boundary Condition Error |
| CVE: | |
| Remote: | No |
| Local: | Yes |
| Published: | Dec 24 1999 12:00AM |
| Updated: | Dec 24 1999 12:00AM |
| Credit: | Discovered by Steve Fewer, and posted to the Win2kSecAdvice mailing list on Dec. 24 |
| Vulnerable: |
Netscape Communicator 4.5 |
| Not Vulnerable: | |
Discussion
Netscape Communicator 4.5 prefs.js Buffer Overflow Vulnerability
Netscape Communicator 4.5 has an unchecked buffer, through which code can be injected for execution via the prefs.js preferences file. This could be exploited locally to run arbitrary code at the privilege level of the current user.
The buffer is overrun if a value over 80 bytes is specified in the 'network.proxy.http' field in prefs.js . The following 4 bytes are written to EBP and the 4 after that go into EIP. The next byte is pointed at by the ESP and is the beginning of the code that will be run.
Netscape Communicator 4.5 has an unchecked buffer, through which code can be injected for execution via the prefs.js preferences file. This could be exploited locally to run arbitrary code at the privilege level of the current user.
The buffer is overrun if a value over 80 bytes is specified in the 'network.proxy.http' field in prefs.js . The following 4 bytes are written to EBP and the 4 after that go into EIP. The next byte is pointed at by the ESP and is the beginning of the code that will be run.
Exploit / POC
Netscape Communicator 4.5 prefs.js Buffer Overflow Vulnerability
This exploit will create a prefs.js file that when loaded will cause Netscape to run c:\windows\command\app.exe .
This exploit will create a prefs.js file that when loaded will cause Netscape to run c:\windows\command\app.exe .
Solution / Fix
Netscape Communicator 4.5 prefs.js Buffer Overflow Vulnerability
Solution:
Currently the SecurityFocus staff are not aware of any vendor supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].
Solution:
Currently the SecurityFocus staff are not aware of any vendor supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].
References
Netscape Communicator 4.5 prefs.js Buffer Overflow Vulnerability
References:
References:
- Win2kSecAdvice Archived Message (Win2kSecAdvice)