Skip to content

Mod Security issue J4/J5 upon saving #43931

@channingb

Description

@channingb

Steps to reproduce the issue

I posted in #43510 also, but the posts were in May. Apologies for my ignorance.

Since our hosting company heightened security last week due to "a huge rash of bot attacks against WHMCS systems", we are experiencing mod_security rules being triggered.

php errors, "page not found" (see below). It occurs doing many different tasks. Convert Forms component does not show the full form builder, adding an image using JCE Editor in article manager will fail to save but does not seem to break in YTP Page builder, cannot save in styles or other YTP builder areas, adding image in JSitemap failed, etc.

Error
2024-08-16T18:10:15+00:00 CRITICAL 149.106.104.144 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Page not found". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(746): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
#1 [ROOT]/libraries/src/Application/SiteApplication.php(232): Joomla\CMS\Application\SiteApplication->route()
#2 [ROOT]/libraries/src/Application/CMSApplication.php(293): Joomla\CMS\Application\SiteApplication->doExecute()
#3 [ROOT]/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#4 [ROOT]/index.php(32): require_once('/home/fullcirc/...')
#5 {main}

Expected result

Saving without mod_security rule being triggered and not having to white-list mod rules.

Actual result

"page not found" and will not save.

System information (as much as possible)

We have 30 sites either in J4 or J5. This is one sample
J4 4.4.6
PHP 8.1
Apache server

Additional comments

We have done quite a bit of white listing which is not ideal. Today, the host whitelisted 941100 and 941160. Both, they said, are there to protect against XSS attacks. And we will have another 27 sites to go through.

One developer said it was the hosting company's issue, and the host thinks differently.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions