Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2023-1887: fix: corrected wrong check on user permission · thorsten/phpMyFAQ@400d9cd

Business Logic Errors in GitHub repository thorsten/phpmyfaq prior to 3.1.12.

CVE
#git#php#oauth#auth

@@ -8,12 +8,12 @@

* v. 2.0. If a copy of the MPL was not distributed with this file, You can

* obtain one at http://mozilla.org/MPL/2.0/.

*

* @package phpMyFAQ

* @author Thorsten Rinne [email protected]

* @package phpMyFAQ

* @author Thorsten Rinne [email protected]

* @copyright 2003-2022 phpMyFAQ Team

* @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0

* @link https://www.phpmyfaq.de

* @since 2003-02-23

* @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0

* @link https://www.phpmyfaq.de

* @since 2003-02-23

*/

use Abraham\TwitterOAuth\TwitterOAuth;

@@ -41,7 +41,7 @@

exit();

}

if ($user->perm->hasPermission($user->getUserId(), ‘edit_faq’) || $user->perm->hasPermission($user->getUserId(), ‘add_faq’)) {

if ($user->perm->hasPermission($user->getUserId(), ‘add_faq’)) {

// FAQ data

$dateStart = Filter::filterInput(INPUT_POST, 'dateStart’, FILTER_UNSAFE_RAW);

$dateEnd = Filter::filterInput(INPUT_POST, 'dateEnd’, FILTER_UNSAFE_RAW);

Related news

GHSA-gx43-fqrx-6fcw: thorsten/phpmyfaq vulnerable to business logic errors

thorsten/phpmyfaq prior to 3.1.12 allows users with edit-only permissions to add and delete categories and add FAQs. This has been fixed in 3.1.12.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907