Description
The hook_comments API in Drupal 4.7.x before 4.7.8 and 5.x before 5.3 does not pass publication status, which might allow attackers to bypass access restrictions and trigger e-mail with unpublished comments from some modules, as demonstrated by (1) Organic groups and (2) Subscriptions.
References
- ADV-2007-3546 vdb-entry
- http://drupal.org/node/184354
- drupal-api-information-disclosure(37296) vdb-entry
- 27292 third-party-advisory
- FEDORA-2007-2649 vendor-advisory
- 27352 third-party-advisory
- 26119 vdb-entry