Re: Simple CMS



On 2 Aug 2006 11:14:43 -0000
daaan@xxxxxxxxx wrote:

The cms from http://www.cms-center.com/ uses no security at all, just
a boolean "isloggedin". If you submit "loggedin=1" in the URL of any
of the admin pages, you get full controll.

Proof:
1. Google for "powered by php mysql simple cms"
2. type "admin/config_pages.php?loggedin=1" behind the url
3. Done. It works on every admin page that uses the so called
auth.php.


*sigh*
Another one of those.

Solution:
Set PHP to register_globals = off

At a *very* brief glance at SimpleCMS it looks as if it should run with
register_globals = off as it's using $_GET and $_POST to access parameters.

Thus it is not even a SimpleCMS-induced bug (as in: requires that
setting) in the PHP configuration, but simply plain ignorance or
stupidity of the webserver admin.

Bye

Volker


--

Volker Tanger http://www.wyae.de/volker.tanger/
--------------------------------------------------
vtlists@xxxxxxx PGP Fingerprint
378A 7DA7 4F20 C2F3 5BCC 8340 7424 6122 BB83 B8CB



Relevant Pages

  • Invision Power Board Privilege Esaclation (2.0.1 + more)
    ... Invision Board has always been patched. ... I then logged into the Invision Admin Console ... I was looking for something that would let me run or add my own php ... the Admin CP that would execute the script. ...
    (Bugtraq)
  • [Full-disclosure] Invision Power Board Privilege Escalation (2.0.1 + more)
    ... Invision Board has always been patched. ... I then logged into the Invision Admin Console ... I was looking for something that would let me run or add my own php ... the Admin CP that would execute the script. ...
    (Full-Disclosure)
  • pforum: mysql-injection-bug
    ... ppp-design has found a mysql-injection-bug in pforum: ... pforum is a www-board system using php and mysql. ... php.ini, it is possible to login as any user, admin or moderator. ... The vendor reacted very quickly. ...
    (Bugtraq)
  • UPB: Discussion Board/Web-Site Takeover
    ... topic: UPB: Discussion Board/Web-Site Takeover ... that allow to attacker execute random php ... HTTP_USER_AGENT] in text file under `db' directory named `iplog'. ... then in admin panel board admin can to call admin_iplog.php, ...
    (Bugtraq)
  • Re: umstieg und einstiegs fragen
    ... >>> Bei einem Kontaktformular ist mir ... PHP nichts mit CGI zu tun hat? ... dass der Admin ein paar Standard-Scripts zur Verfügung stellen konnte, ... und der User nur statischen Content, aber keine Scripts installieren ...
    (de.comp.lang.perl.cgi)