D-Link Security Updates fixed vulnerabilities with Central WiFiManager Software Controller that allows an attacker to execute the code remotely with system permissions.
The vulnerabilities were discovered by Core Security Consulting Services and these vulnerabilities directly impact the software package and put the host computer at risk.
Vulnerabilities – WiFiManager Software
Unauthenticated Remote Code Execution – CVE-2018-17440
The system failed to deny the request for unauthenticated users in accessing the files in the web root. Attackers need to upload a malicious PHP file in sever and need to request it to achieve remote code execution.
Remote Code Execution – CVE-2018-17442
The attacker needs to be an authenticated user here, the exploitation abuses the endpoint functionality. “Our goal is first to obtain the server’s time, upload a .rar with our PHP file, calculate the proper epoch and iterate increasing it until we hit the proper one and remote code execution is achieved.” researchers said.
Cross-Site Scripting Sitename Parameter – CVE-2018-17443
The “sitename” parameter of the UpdateSite endpoint is vulnerable to Cross-Site Scripting.
Cross-Site Scripting Username Parameter- CVE-2018-17441
The “Username” parameter of the addUser endpoint is vulnerable to a stored Cross Site Scripting.