Menu

#575 Public Access / Add Events Off

Security_Hole
closed-fixed
Security (98)
5
2003-09-08
2003-09-07
Anonymous
No

In version 0.9.42 where the system settings are set for public
access on, public add events off a public user still can add an
event to the public calendar. This is done by entering
edit_entry.php in the url.

A solution is to add the code below to line 104 of connect.php

if( $public_access_can_add != "Y") { //Do not allow add
if ( strstr ( $PHP_SELF, "edit_entry.php" ) ||
strstr ( $PHP_SELF, "edit_entry_handler.php" ) ||
strstr ( $PHP_SELF, "import.php" ) ) {
$not_auth = true;
}
}

Discussion

  • Craig Knudsen

    Craig Knudsen - 2003-09-08
    • status: open --> closed
     
  • Craig Knudsen

    Craig Knudsen - 2003-09-08
    • status: closed --> closed-fixed
     
  • Craig Knudsen

    Craig Knudsen - 2003-09-08

    Logged In: YES
    user_id=14386

    The fix for this bug is already in CVS, and will be included in
    the next release.

     

Log in to post a comment.