Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

Topics must relate to a currently supported version of Kunena. If you are unsure what is the current supported version of Kunena, please go to the download page.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question 7.0.11 (and earlier versions) Error in the editor - saving: Forbidden!

More
2 weeks 5 days ago - 2 weeks 5 days ago #235549 by Shuffle
Dear guys,
the same error appears on three websites with kunena. It was likely present in previous versions of Kunena as well. I have now finally discovered how to reproduce the error.
First of all: It is strange that the collation is flagged as incorrect (showing `utf8_general_ci`), yet when I access the database via phpMyAdmin, it displays the correct collation.
I don’t understand this difference.
Warning: Spoiler!




As for the actual error: There have been recurring issues where changes—or even new posts—failed to save entirely. In these instances, an error message appeared stating that the user lacked the necessary permissions.
For example, if I enter some simple text and save it, there is (usually) no problem.
This is the source code that causes an error when saving:

Songs:

  • 30 Dirty Years Medley
  • We have to stop
  • St. Patricks Day
  • Shane (leider Anfang abgeschnitten)
  • All ends right
  • Long way to the top
This ends in: Forbidden

Source - Save - Forbidden!


Also if I then modify the text—for instance, to create a simple list—an error message appears when I try to save: "Forbidden!"
The post also fails to save when a list is added subsequently.
This saving issue occurs with other actions as well, but so far, creating a list is the only instance I have found to be reproducible.
Unfortunately, I’ve run out of ideas on where else to look for the error.

Thanks for your help!
Last edit: 2 weeks 5 days ago by Shuffle.

Please Log in or Create an account to join the conversation.

More
2 weeks 5 days ago #235550 by xillibit
Hello,

On tables collation, Kunena requires utf8mb4_unicode_ci like Joomla! 6+ have, ljust look the structure of some Kunena tables and you will see the collation isn't the same

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

More
2 weeks 5 days ago #235551 by Shuffle
Hello,
I am no expert, but if I look at the 'aliases', for example, the correct collation is actually listed there—yet the Kunena report shows it as incorrect (see images).
The report is showing


phpMyadmin told


How is this possible? Where is the bug?

Thanks for your help.

Please Log in or Create an account to join the conversation.

More
2 weeks 5 days ago - 2 weeks 5 days ago #235552 by Pinkeltje
The collation check in the configuration report reads the column collations directly through Joomla’s own database connection. If phpMyAdmin shows utf8mb4_unicode_ci for the same columns, you’re most likely looking at a different database than the one Joomla uses. Could you check the following?
1. Collation / database
  • In Joomla, go to System → Global Configuration → Server tab → Database section. Note the Host, Database Name and Database Tables Prefix.
  • In phpMyAdmin, check the breadcrumb at the top (Server » Database). Is it exactly the same database name?
  • If you have more than one database with the same prefix (vc5o7_), for example an old copy or a test site, make sure you’re checking the right one.
  • To be sure, post a test message in the forum and check whether it appears in vc5o7_kunena_messages in the database you have open in phpMyAdmin.
2. “Forbidden” when saving
  • Open your browser’s developer tools (F12) → Network tab, and then try to save the message that fails.
  • Click the failing request (status 403) and check:
    • the request URL (which task?)
    • the response: is it a Joomla/Kunena error page, or a plain server page like “Forbidden – You don’t have permission to access this resource”?
    • the Server response header (Apache, LiteSpeed, nginx, Cloudflare, …)
  • If it’s a plain server page, it’s most likely a web application firewall (mod_security) at your host blocking the content. Remove parts of the text until the error disappears, so you know which line triggers it. Then ask your host which mod_security rule ID was triggered at that time, and whether they can whitelist it for your site.
Last edit: 2 weeks 5 days ago by Pinkeltje.
The following user(s) said Thank You: Shuffle

Please Log in or Create an account to join the conversation.

More
2 weeks 3 days ago - 2 weeks 3 days ago #235557 by Shuffle
Great!
I have now examined one of the websites in more detail (all the problematic sites are with the same host).
To begin with, I found no issues with the collation in the Kunena tables within the database. That’s a relief!

Warning: Spoiler!


I will look into the other websites later. As I turned off the host's firewall actually allowed data to be saved without any errors!
I have asked the host to add an exception to the firewall, which will then need to be applied to all the websites with kunena.

Thank you very much for your detailed help! :-)
Last edit: 2 weeks 3 days ago by Shuffle. Reason: Fehlende Foren-Bilddateien

Please Log in or Create an account to join the conversation.

More
2 weeks 3 days ago #235560 by Shuffle
In a second installation, the collation is definitely incorrect.
Unfortunately, a problem arises with the `kunena_aliases` table as soon as I attempt to change the collation.
Where can I find guidance on how to proceed?
What I tried:
Code:
ALTER TABLE `ne75k_kunena_aliases` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
MySQL meldet:
Code:
#3886 - Could not change column 'alias' of table 'ne75k_kunena_aliases'. The resulting size of index 'alias' would exceed the max key length of 1000 bytes.

 
 

Please Log in or Create an account to join the conversation.

Time to create page: 0.214 seconds