vendor:
NOCC
by:
Kacper
7.5
CVSS
HIGH
Local File Inclusion
22
CWE
Product Name: NOCC
Affected Version From: 0.1.0
Affected Version To: 0.1.0
Patch Exists: YES
Related CWE: N/A
CPE: a:nocc:nocc:0.1.0
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2009
Yet Another NOCC 0.1.0 <= Local File Inclusion Vulnerabilities
YANOCC is a simple and fast webmail client which can handle POP3, SMTP, and IMAP servers. YANOCC is based on NOCC's code and is written with PHP4. It features multi-language support, MIME attachments, displays HTML messages, address book, folder support. In file check_lang.php, if the $lang variable is not set, it will take the value of the $HTTP_ACCEPT_LANGUAGE variable and check if the file exists in the lang directory. If the file does not exist, it will set the $lang variable to the default language. This can be exploited to include arbitrary local files by passing a relative path in the lang parameter.
Mitigation:
Ensure that user-supplied input is properly validated and sanitized before being used in the application.