Register on our site is free!

I look forward to have you as a member here on JAKCMS. It will give you a lot of advantages like: get forum support, report bugs or requests to our software, post comments to faq, downloads, blog, gallery and tutorials.

Kind regards
Jérôme 

Member Login

Lost your password?

Lost my Password

Stop, try again!

Not a member yet? Sign Up!

human

 

Security Flaw (Image/Filemanager)

Time: 16.09.2011 / By: EgiX / Hits: 1835

Priority: 5 Status: Closed Resolution: Yes

Description:

 

I've found some critical bugs into /js/editor/plugins/jakadminexplorer (also jakadminimage, jakusrexplorer and jakusrimage are vulnerable).

The authentication schema could be bypassed into /php/session.php, this is the vulnerable code:

if ($SESSION["check_session_variable"] != "") {

// Session Starten

session_start();

// Session-Variable überprüfen

if (!isset($_SESSION[$SESSION["check_session_variable"]])) {

include("error.php");

die;

}

}

An attacker might be able to start a session accessing to /index.php that set for e.g. the "jak_lastURL" session variable, than could set $SESSION["check_session_variable"] to bypass this trivial auth schema.

In this way an unauthenticated user have access to "Explorer" and "Image Manager" plugins and could be "delete", "create", "rename" any folder/file into webserver or upload arbitray files.

 

Votes Up: 0 Votes Down: 0 Rating: 0

Social Bookmarking:

(2) Visitor Comments

  1. Jerome Posted: 16.09.2011 : 08:33 PM

    Thank you very much for the report, I will check it and publish a fix asap if necessary...

  2. Jerome Posted: 16.09.2011 : 09:16 PM

    Ok I reuploaded the 2.2.6 package with a fix, more details follow soon!

    The file will now check if you can have access with no session and if not it will die()!

    Thanks again for the report!

    If you installed 2.2.6 already, download the package again and replace the whole js/editor/plugins folder with the new content!