11 June 2021 at 12:10 UTC
Updated: 11 June 2021 at 12:40 UTC
SIP devices could become unwitting access points for remote attacks on critical systems
The SIP communications protocol can be abused to perform cross-site scripting (XSS) attacks, new research has revealed
In a blog post on Thursday (June 10), Enable Securityâ€™s Juxhin Dyrmishi Brigjaj said that the Session Initiation Protocol (SIP), the technology used to manage communication across services including Voice over IP (VoIP), audio, and instant messaging, can be used as a conduit to perform app-based assaults on software.
This includes XSS attacks, in which usersâ€™ browser sessions may be compromised, same-origin policies circumvented, and user impersonation may take place for purposes including theft, phishing, or the deployment of malware.
XSS entry point
Brigjaj says that in the worst-case scenarios, this could potentially lead to the â€œunauthenticated remote compromise of critical systemsâ€.
The researcher explored the case of VoIPmonitor, an open source network packet sniffer used by system administrators to analyze the quality of VoIP calls based on various network parameters.
A vulnerability was discovered in the softwareâ€™s graphical user interface (GUI) during an offensive security audit.
One of the GUIâ€™s features is the monitoring of SIP device register requests. The monitoring system includes the type of device that sent the SIP register message via a header value.
This value is rendered in the DOM of the userâ€™s web browser. In the hands of miscreants, this may lead to the execution of malicious code.
â€œAt face value this might not seem like much, and in the real world Iâ€™d use something less obvious, relying on some canary token or callback,â€ the researcher notes.
â€œHowever, keep in mind that this code is executed in an administratorâ€™s browser and is stored there for a period of time.â€
Temporary code execution
The vulnerability, therefore, could lead to consequences including the exfiltration of data and traffic, the hijack of other administrator accounts, and the deployment of malware such as keyloggers, backdoors, and more.
Read more of the latest security research news from about the world
Enable Security reported its findings to VoIPmonitor on February 10 and the security issue was resolved by the projectâ€™s developers on February 22 through the inclusion of new XSS protection mechanisms.
It is recommended that VoIPmonitor users update to the latest version available, v.24.71.
Enable Security tested the patch and confirmed that this avenue to XSS attacks has been removed.
The Daily Swig has reached out to the VoIPmonitor project maintainers and we will update this story as and when we hear back.
RECOMMENDED Al Jazeera repels cyber-attacks that sought to disrupt media network