Page MenuHomePhabricator

FilterNotFoundException: Filter 3342 does not exist
Closed, DuplicatePublicPRODUCTION ERROR

Description

Error message
MediaWiki\Extension\AbuseFilter\Filter\FilterNotFoundException: Filter 3342 does not exist
Stack Trace
from line 111 of /srv/mediawiki/php-1.36.0-wmf.25/extensions/AbuseFilter/includes/FilterLookup.php

#0 /srv/mediawiki/php-1.36.0-wmf.25/extensions/AbuseFilter/includes/View/AbuseFilterViewHistory.php(58): MediaWiki\Extension\AbuseFilter\FilterLookup->getFilter(integer, boolean)
#1 /srv/mediawiki/php-1.36.0-wmf.25/extensions/AbuseFilter/includes/Special/SpecialAbuseFilter.php(159): MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewHistory->show()
#2 /srv/mediawiki/php-1.36.0-wmf.25/includes/specialpage/SpecialPage.php(645): MediaWiki\Extension\AbuseFilter\Special\SpecialAbuseFilter->execute(string)
#3 /srv/mediawiki/php-1.36.0-wmf.25/includes/specialpage/SpecialPageFactory.php(1404): SpecialPage->run(string)
#4 /srv/mediawiki/php-1.36.0-wmf.25/includes/MediaWiki.php(310): MediaWiki\SpecialPage\SpecialPageFactory->executePath(Title, RequestContext)
#5 /srv/mediawiki/php-1.36.0-wmf.25/includes/MediaWiki.php(945): MediaWiki->performRequest()
#6 /srv/mediawiki/php-1.36.0-wmf.25/includes/MediaWiki.php(548): MediaWiki->main()
#7 /srv/mediawiki/php-1.36.0-wmf.25/index.php(53): MediaWiki->run()
#8 /srv/mediawiki/php-1.36.0-wmf.25/index.php(46): wfIndexMain()
#9 /srv/mediawiki/w/index.php(3): require(string)
#10 {main}
Impact

Uncachable HTTP 500 response and fatal error report that may raise alerts or preven deploys, triggered from a public GET url.

I don't know at this time if the original incident reported in Logstash was from a user trying out this URL by hand, or whether there is another bug in the software causing such links to be produced, in which case it possibly also has user-facing impact in the form of links pointing to the wrong place and/or failing to inform users of the result (or failing to inform that there were no results).

Notes

Happened organically on multiple wikis throughout December on MW 1.36-wmf.22 and today on -wmf.25. Appears evenly distributed among hosts.

Screenshot 2021-01-07 at 22.28.33.png (878×2 px, 195 KB)

Details

Request ID
X-eJmApAEKIAAylkL0gAAABC
Request URL
https://en.wiktionary.org/wiki/Special:AbuseFilter/history?user=krinkle+testing+&filter=3342

Event Timeline

Daimona subscribed.

It shouldn't be possible to get there via UI links. That said, it might warrant a backport.