Use Chrome browser.
Login frontend with super user account
On a blog layout view with several articles, click edit on an article, and cancel
Do the same on another article
And so on
No errors - you can edit the article
403 You are not permitted to use that link to directly access that page (#250).
This happens more or less randomly
Joomla 4.1.4
PHP 7.4.29
I cannot seem to find a system in this error
I can also make it come in Firefox - but it seems to happen less often !??
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Yes that should not have been linked in my message. Think it happende automatically.
Priority | Critical | ⇒ | Medium |
Actually i also every once in a while experince this on Joomla 3 sites when trying to edit an article from a list view ?? Is this an old known bug ?
Is there any input on this - I have users who are getting annoyed over this isssue - and I do not know what to tell them ?
I could not find any open issue like yours and cannot replicate it.
Maybe there is something which destroys session data on your system? .htaccess? Any extensions for security? Maybe your hoster can support you here by checking error logs.?
I have only Admin tools installed on the site - have not changed the htaccess file for a long time, and I think the problem is quite new.
Nothing usefull in the error log - I can only see the 403 error in the access log.
Could you deactivate Admin Tools?
I have experienced the same issue with Joomla 4 on several different servers, when using the edit button on the menu item in the admin area. It appears to be caused by the modal code and an escaped single-quote, which triggers mod security.
This is what Mod Security has recorded
Request: GET /administrator/index.php?option=com_content&view=article&layout=modal&tmpl=component&c031c1a6095d274fd4db831353fc1c01=1&task=article.edit&id=%27%2022%20%27
Action Description: Access denied with code 403 (phase 2).
Justification: String match "'" at ARGS:id.
SecRule REQUEST_METHOD "@rx ^GET$" "id:77140923,chain,phase:2,block,log,severity:2,t:none,t:normalizePath,msg:'IM360 WAF: Joomla Component Jreservation Blind SQLi Vulnerability||MVN:%{MATCHED_VAR_NAME}||T:APACHE||MV:%{MATCHED_VAR}||',tag:'service_i360custom',tag:'joomla_plugin'"
SecRule REQUEST_FILENAME "@ENDSWITH /index.php" "chain,t:none,t:normalizePath"
SecRule ARGS:option "@Streq com_content" "chain,t:none"
SecRule ARGS:view "@Streq article" "chain,t:none"
SecRule ARGS:id "@contains '" "t:none"
Labels |
Added:
bug
|
I'm having the same error trying to use the edit link to (some) users in "Users" -> "Manage". Even not able to edit my own superuser account via this path. Strangly when using "User menu" -> "Edit Account" I will be able to edit the superuser account.
Someone knows what to do about it?
@RustyR Usually, it happens when :
That are the two possible cases (beside session timeout) I can think about this error,
Also strange that I can edit 1 out of 3 users??
@RustyR From technical point of view, it seems the code which stores/retrieves data to/from session is not working properly on your site for some reasons. Without check it directly on your site to see the error, it's hard to say why it is not working
Since it relates to session, you might want to go to System -> Global configuration, look at System tab, change Session Handler to use a different option (compare to the current one) to see if it address the issue. If not, I guess you will have a developer to check it directly on your site to figure out what's wrong and get it sorted
Here we can only check and fix the issue if there is a reliable way tore-procedure it on a fresh Joomla installation.
@joomdonation Thanks very much for taking the time to look into this matter. After letting it go for 24 hours the problems are gone. I think it was cache related (if that's possible with handling sessions). Thanks again and have a nice day!!
Labels |
Added:
Information Required
|
I have not encountered the problem for a while now - so maybe it has vanished :-) ?
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-03-24 23:45:27 |
Closed_By | ⇒ | Quy |
Closing for now. Thanks for reporting back.
Why did you link #250 ?