ietf-tools / www

A customized CMS for the IETF website
BSD 3-Clause "New" or "Revised" License
26 stars 43 forks source link

consider additional security for forms on www.ietf.org #52

Open ghwood opened 4 years ago

ghwood commented 4 years ago

Web forms on www.ietf.org currently do not have any mitigation against automated submissions.

Some amount of "spam form" is currently received.

Current published form pages (and submission emails) are:

https://www.ietf.org/forms/wg-webex-account-request/ (webex-requests@ietf.org)

https://www.ietf.org/contact/contact-form/ (ietf-action@ietf.org)

https://www.ietf.org/forms/keyword-suggestions/ (ghwood@ietf.org)

Additional information about the volume of spam is needed to understand the urgency of the current situation, but some systemic approach to mitigating form spam should be considered.

JayDaley commented 3 years ago

Ask contractor to add recaptcha to the base form so that it can be optionally used in any form

ghwood commented 2 years ago

Any measures should be aligned with https://www.ietf.org/privacy-statement/ and https://www.ietf.org/policies/web-analytics/ particularly with regard to sharing data with third parties and reliance on javascript.

E.g. javascript may not be required for critical website functions.

holloway commented 2 years ago

Note that captcha-style techniques can also have accessibility issues, as 'proving you're human' can be onerous to some users.

Would antispam tech (eg https://akismet.com/ ) also be an appropriate solution to this?

kesara commented 2 years ago

Parking this issue for now, until we find a solution that satisfies privacy concerns and accessibility requirements.

mgax commented 6 months ago

How about a honeypot field in the form? The field would be invisible to the user, but an automated spambot would typically feel obliged to fill all available form fields. The server would then check if the field is filled and silently drop the submission.

It's a simple, privacy and accessibility friendly solution. I've found this SO thread with some ideas to tweak the implementation to make it more effective.

JayDaley commented 6 months ago

Works for me!

rjsparks commented 6 months ago

We can also put rate limits on the forms at cloudflare when we bring the forms back (so that a single IP would get throttled if it attempted to submit many forms)