Revive Adserver Security Advisory REVIVE-SA-2021-004

  • Advisory ID: REVIVE-SA-2021-004
  • CVE-IDs: TBD
  • Date: 2021-06-03
  • Risk Level: Low
  • Applications affected: Revive Adserver
  • Versions affected: <= 5.2.0
  • Versions not affected: >= 5.2.1
  • Website: https://www.revive-adserver.com/

Vulnerability 1 – Reflected XSS

  • Vulnerability type: Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’) [CWE-79]
  • CVE-ID: TBD
  • CVSSv3.1 Vector: AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
  • CVSS Base Score: 4.3
  • CVSS Impact Subscore: 1.4
  • CVSS Exploitability Subscore: 2.8

Description

Security researcher Alexey Solovyev (solov9ev) has discovered another variant of a previously reported and fixed reflected XSS vulnerability in stats.php. An attacker could trick a user with access to the user interface of a Revive Adserver instance into clicking on a specifically crafted URL and pressing a certain key combination to execute injected JavaScript code.

Details

The statsBreakdown parameter was not fully escaped in stats.php when printed it in an HTML attribute, allowing an attacker to work around the existing escaping and to inject other HTML attributes. Other instances of the same issues had been fixed, but when the breakdown parameter was set to “affiliates”, the code path was bypassing the previous fix. The published exploit requires the victim to press a complex combination of keys to execute JavaScript code injected as onclick attribute of a hidden form field. Again, the session cookie cannot be accessed or stolen via JavaScript.

References

Solution

We strongly advise people to upgrade to the most recent 5.2.1 version of Revive Adserver, or whatever happens to be the current release at the time of reading this security advisory.

Contact Information

The security contact for Revive Adserver can be reached at: <security AT revive-adserver DOT com>

Please review https://www.revive-adserver.com/security/ before doing so.