{
  "modified": "2025-08-09T19:01:26Z",
  "published": "2011-11-02T17:55:01Z",
  "id": "CVE-2011-4075",
  "details": "The masort function in lib/functions.php in phpLDAPadmin 1.2.x before 1.2.2 allows remote attackers to execute arbitrary PHP code via the orderby parameter (aka sortby variable) in a query_engine action to cmd.php, as exploited in the wild in October 2011.",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/46551"
    },
    {
      "type": "ADVISORY",
      "url": "http://secunia.com/advisories/46672"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.debian.org/security/2011/dsa-2333"
    },
    {
      "type": "EVIDENCE",
      "url": "http://dev.metasploit.com/redmine/issues/5820"
    },
    {
      "type": "EVIDENCE",
      "url": "http://openwall.com/lists/oss-security/2011/10/24/9"
    },
    {
      "type": "EVIDENCE",
      "url": "http://openwall.com/lists/oss-security/2011/10/25/2"
    },
    {
      "type": "EVIDENCE",
      "url": "http://www.exploit-db.com/exploits/18021/"
    },
    {
      "type": "FIX",
      "url": "http://openwall.com/lists/oss-security/2011/10/24/9"
    },
    {
      "type": "FIX",
      "url": "http://openwall.com/lists/oss-security/2011/10/25/2"
    },
    {
      "type": "WEB",
      "url": "http://osvdb.org/76594"
    },
    {
      "type": "WEB",
      "url": "http://phpldapadmin.git.sourceforge.net/git/gitweb.cgi?p=phpldapadmin/phpldapadmin%3Ba=blobdiff%3Bf=lib/functions.php%3Bh=eb160dc9f7d74e563131e21d4c85d7849a0c6638%3Bhp=19fde9974d4e5eb3bfac04bb223ccbefdb98f9a0%3Bhb=76e6dad13ef77c5448b8dfed1a61e4acc7241165%3Bhpb=5d4245f93ae6f065e7535f268e3cd87a23b07744"
    },
    {
      "type": "WEB",
      "url": "http://phpldapadmin.sourceforge.net/wiki/index.php/Main_Page"
    },
    {
      "type": "WEB",
      "url": "http://sourceforge.net/tracker/index.php?func=detail\u0026aid=3417184\u0026group_id=61828\u0026atid=498546"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/50331"
    }
  ]
}
