Download Count
The module creates access rights that it never actually checks. Someone with an ordinary account could export the download log and delete all download records. They could view hidden download data and remove these records.
- Who could do thisOnly someone with a login on your site.
- Does it apply to youA site is affected if the attacker has an account with the access right to view download counts.
- Has it been used in attacksNo sign of it.
- How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.
Tell your developerUpdate Download Count to 3.0.2 or 2.2.5, whichever branch you are on.
For developers: what the fix changed
Updates download_count.routing.yml to require the reset download counts and export download counts permissions for the reset and export routes respectively.
Also in this release Updated a library reference from classy to claro for Drupal 10 compatibility and added a test.
download_count.routing.yml+2 −2 fixsrc/Plugin/Field/FieldFormatter/FieldDownloadCount.php+1 −1