Project

General

Profile

Actions

Bug #89420

closed

Make honeypot in ext:forms more reliable

Added by Christian Eßl about 5 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Start date:
2019-10-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Remote Sprint

Description

We encountered problems with the honeypot in ext:form, that a lot of spam messages still come through.

The way the honeypot currently works is, that a random, visually hidden, input element is inserted into every form by default.
If the hidden input has a value, the user will be automatically redirected to the form (instead of calling the finishers).
In that case, all values that were previously present in the form, will be refilled again, except the honeypot field (which now has a different id).
This means, if the bot now just resubmits the form after the first failed attempt, without changing any of the values, the form will now successfully be submitted.

I will provide a patch later, that refills the honeypot field on a successful bot detection. At least in our tests in the wild, this has significantly reduced the spam messages.


Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Bug #91435: The 'form' Honeypot partial inserts invalid HTMLClosed2020-05-19

Actions
Related to TYPO3 Core - Bug #103776: Make honeypot fields of EXT:form w3c validUnder ReviewGeorg Ringer2024-05-02

Actions
Actions

Also available in: Atom PDF