A new feature to fix DRUPAL-PSA-2016-003 security issue.

Notify on site status report page if insecure webforms are found. Webforms should be considered insecure if anonymous users are allowed to submit files using public scheme.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ilari.stenroth created an issue. See original summary.

ilari.stenroth’s picture

Status: Active » Needs review
FileSize
1.49 KB

Here's a patch to implement the feature.

ilari.stenroth’s picture

ilari.stenroth’s picture

Title: Warn admin users on site status report page if insecure webfors are found » Warn admin users on site status report page if insecure webforms are found
ilari.stenroth’s picture

New revision of the patch. Now counts correctly insecure webforms.

vinmassaro’s picture

@ilari.stenroth: thanks for this patch - I'm modifying it slightly to add links to the problem webforms. New patch coming shortly.

vinmassaro’s picture

Here is a new patch that combines my additions with the patch from #5. It adds a list of problem webforms with links to each so they can be more easily edited. This is very helpful for a site with a lot of webforms.

DanChadwick’s picture

Status: Needs review » Needs work

Difficulties with this approach:
1) There may well be authenticated-but-untrusted users.
2) Webform API functions alter submission creation and edit access, making it difficult or impossible to know if a particular user can upload a file and is also untrusted.
3) Some sites have a huge number of webforms, which will cause this to time-out.