Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: "ip-block-list - snort.org" feed failing with 403 errors #9707

Open
1 task done
chennin7 opened this issue Apr 24, 2024 · 1 comment
Open
1 task done

Bug: "ip-block-list - snort.org" feed failing with 403 errors #9707

chennin7 opened this issue Apr 24, 2024 · 1 comment
Labels
needs triage This issue has been automatically labelled and needs further triage

Comments

@chennin7
Copy link

Actual behavior

We're getting 403 errors when we attempt to fetch attributes from the "ip-block-list - snort.org". We were successfully pulling this feed, but seemingly out of nowhere this started happening. Interestingly if we do a wget https://snort.org/downloads/ip-block-list on the server, it can pull the file with no issues.

See full error message below.

Expected behavior

We expect to be able to retrieve attributes from the feed without errors.

Steps to reproduce

Fetch attributes from the "ip-block-list - snort.org" default feed. This fails with triggering in the web application and via the CLI.

Version

2.4.190

Operating System

RedHat

Operating System version

7.9

PHP version

7.4.33

Browser

No response

Browser version

No response

Relevant log output

2024-04-24 15:50:06 Error: Could not get freetext feed 9
[HttpSocketHttpException] Remote server returns HTTP error code 403 for URL https://snort.org/downloads/ip-block-list: <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if I
Stack Trace:
#0 /var/www/MISP/app/Model/Feed.php(343): Feed->feedGetUriRemote()
#1 /var/www/MISP/app/Model/Feed.php(382): Feed->getFreetextFeedRemote()
#2 /var/www/MISP/app/Model/Feed.php(1229): Feed->getFreetextFeed()
#3 /var/www/MISP/app/Console/Command/ServerShell.php(411): Feed->downloadFromFeedInitiator()
#4 /var/www/MISP/app/Lib/cakephp/lib/Cake/Console/Shell.php(459): ServerShell->fetchFeed()
#5 /var/www/MISP/app/Lib/cakephp/lib/Cake/Console/ShellDispatcher.php(222): Shell->runCommand()
#6 /var/www/MISP/app/Lib/cakephp/lib/Cake/Console/ShellDispatcher.php(66): ShellDispatcher->dispatch()
#7 /var/www/MISP/app/Console/cake.php(45): ShellDispatcher::run()
#8 {main}
Job failed.

Extra attachments

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@chennin7 chennin7 added the needs triage This issue has been automatically labelled and needs further triage label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue has been automatically labelled and needs further triage
Projects
None yet
Development

No branches or pull requests

2 participants