========================================================================
Revive Adserver Security Advisory REVIVE-SA-2020-002
------------------------------------------------------------------------
https://www.revive-adserver.com/security/revive-sa-2020-002
------------------------------------------------------------------------
CVE-IDs: t.b.a.
Date: 2020-03-12
Risk Level: Low
Applications affected: Revive Adserver
Versions affected: <= 5.0.4
Versions not affected: >= 5.0.5
Website: https://www.revive-adserver.com/
========================================================================
========================================================================
Vulnerability 1 - Security restriction bypass
========================================================================
Vulnerability Type: Incorrect Authorization [CWE-863]
CVE-ID: t.b.a.
CVSS Base Score: 5.6
CVSSv3.1 Vector: AV:P/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS Impact Subscore: 5.2
CVSS Exploitability Subscore: 0.4
========================================================================
Description
-----------
A security restriction bypass vulnerability has been discovered by
HackerOne user hoangn144. Revive Adserver, like many other applications,
requires the logged in user to type the current password in order to
change the e-mail address or the password. It was however possible for
anyone with access to a Revive Adserver admin user interface to bypass
such check and change e-email address or password of the currently
logged in user by altering the form payload.
Details
-------
The attack requires physical access to the user interface of a logged in
user. If the POST payload was altered by turning the "pwold" parameter
into an array, Revive Adserver would fetch and authorise the operation
even if no password was provided.
References
----------
https://hackerone.com/reports/792895
https://github.com/revive-adserver/revive-adserver/commit/e2a519c3
https://cwe.mitre.org/data/definitions/863.html
========================================================================
Vulnerability 2 - Open Redirect
========================================================================
Vulnerability Type: URL Redirection to Untrusted Site
('Open Redirect') [CWE-601]
CVE-ID: t.b.a.
CVSS Base Score: 4.2
CVSSv3.1 Vector: AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
CVSS Impact Subscore: 2.5
CVSS Exploitability Subscore: 1.6
========================================================================
Description
-----------
An Open Redirect vulnerability was discovered and reported by HackerOne
user hoangn144. A remote attacker could trick logged-in users to open a
specifically crafted link and have them redirected to any destination.
Details
-------
The CSRF protection of the "/www/admin/*-modify.php" could be skipped if
no meaningful parameter was sent. No action was performed, but the user
was still redirected to the target page, specified via the "returnurl"
GET parameter.
References
----------
https://hackerone.com/reports/794144
https://github.com/revive-adserver/revive-adserver/commit/05fcd364
https://cwe.mitre.org/data/definitions/601.html
========================================================================
Solution
========================================================================
We strongly advise people to upgrade to the most recent 5.0.5 version of
Revive Adserver.
========================================================================
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.
--
Matteo Beccati
On behalf of the Revive Adserver Team
https://www.revive-adserver.com/