An issue has been found in the API component of PowerDNS Authoritative, where some operations that have an impact on the state of the server are still allowed even though the API has been configured as read-only via the api-readonly keyword. This missing check allows an attacker with valid API credentials to flush the cache, trigger a zone transfer or send a NOTIFY. This issue has been assigned CVE-2017-15091.
PowerDNS Authoritative up to and including 4.0.4 and 3.4.11 are affected.
For those unable to upgrade to a new version, a minimal patch is available
We would like to thank everyman for finding and subsequently reporting this issue.