pennyGrit has discovered two vulnerabilities in airVision NVR, which can be exploited by malicious people to conduct SQL injection attacks and disclose sensitive information.
1) Input passed to the "path" GET parameter in views/file.php is not properly verified before being used to display files. This can be exploited to disclose the contents of arbitrary files via directory traversal sequences.
2) Input passed via the "id" GET parameter to ajax/event.php (when "action" is set to "video", "eids" is set to "1", "videoFormat" is set to 1, and "rate" is set to "1") is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
The vulnerabilities are confirmed in version 1.1.13. Other versions may also be affected.
Solution: No official solution is currently available.
Provided and/or discovered by: pennyGrit
Original Advisory: http://www.exploit-db.com/exploits/21990/
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org