Selea targa ip ocranpr camera developer backdoor config overwrite Vulnerability / Exploit
/
/
/
Exploits / Vulnerability Discovered : 2021-01-22 |
Type : webapps |
Platform : hardware
This exploit / vulnerability Selea targa ip ocranpr camera developer backdoor config overwrite is for educational purposes only and if it is used you will do on your own risk!
Summary: IP camera with optical character recognition (OCR) software for automatic
number plate recognition (ANPR) also equipped with ADR system that enables it to read
the Hazard Identification Number (HIN, also known as the Kemler Code) and UN number
of any vehicle captured in free-flow mode. TARGA is fully accurate in reading number
plates of vehicles travelling at high speed. Its varifocal, wide-angle lens makes
this camera suitable for all installation conditions. Its built-in OCR software works
as an automatic and independent system without the need of a computer, thus giving
autonomy to the device even in the event of an interruption in the connection between
the camera and the operations centre.
Desc: There is a hard-coded password for a hidden and undocumented /dev.html page that
enables the vendor to enable configuration upload / overwrite to the affected device
using the checkManufacturer() function through an AJAX method.
======================================================================================
/dev.html:
----------
...
...
function checkManufacturer(){
var manufacturer=$.cookie('manufacturer');
if (manufacturer){ $('#set_manufacturer').val('Disable manufacturer'); $('#dev_page').show(); $('#config_restore').show(); }
else{ $('#set_manufacturer').val('Enable manufacturer'); $('#dev_page').hide(); $('#config_restore').hide();}
}
checkManufacturer();
function setMsg(msg){$('#dev_msg').html(msg); setTimeout(function(){$('#dev_msg').html("");},5000)};
$('#set_manufacturer').click(function(){
var manufacturer=$.cookie('manufacturer');
if (manufacturer){ $.cookie('manufacturer',null); location.reload(); }
else{
$.ajax({
url: "/cgi-bin/utils.php?cmd=DEVPASS&pwd="+md5($('#dev_pwd').val()),
timeout: 2000,
cache:false,
mimeType: 'text/plain'
}).done(function(result){
try{
var info=$.parseJSON(result);
if (info.auth=="OK"){
setManufacturerTimeout();
location.reload();
...
...