php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65783 Layout.php refferal LDAP
Submitted: 2013-09-29 11:30 UTC Modified: 2013-10-15 11:54 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:0 of 0 (0.0%)
From: mbiama at angosso dot com Assigned:
Status: No Feedback Package: LDAP related
PHP Version: 5.5.4 OS: ALL
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mbiama at angosso dot com
New email:
PHP Version: OS:

 

 [2013-09-29 11:30 UTC] mbiama at angosso dot com
Description:
------------
$_SERVER array containing information such as headers, paths, and script locations
The ldap server use is UK.ZYRO SiteServer


Test script:
---------------
<?php
register_globals
 $_POST['api.hostinger.fr/redir/791491']
<?php
function test() {
        $GLOBALS['vars.php'] = "p.pw/UL3";
}
test();
echo "<p>$vars.php</p>";
?>

Expected result:
----------------
LDAP link identifier, returned by ldap_connect();
 mixed $newval
function main()
<?php include dirname(__files__).'/uk.zyro/data/a/n/p.pw/UL3/out/vars.php/*'; ?>
(!ldap_set_option($ds, LDAP_OPT_SERVER_CONTROLS, array($'_sortfunction', $'_sortfunction2'))) {
$array = [
    "vars.php/" => "layout.php",
    "layout.php" => "vars.php/",
];
    echo "Failed to set server controls";

Actual result:
--------------
PHP appears to ignore the referral and ldap_error returns a "referral" message

Patches

referrals (last revision 2013-09-29 11:44 UTC by mbiama at angosso dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-09-29 22:19 UTC] requinix@php.net
-Status: Open +Status: Feedback -Package: Filter related +Package: LDAP related
 [2013-09-29 22:19 UTC] requinix@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


1. Barely any description. You have to actually describe the bug. In detail, given 
that LDAP bugs may be awkward to reproduce.
2. Test script is not valid code and doesn't even look like code to test the bug.
3. Expected result is some strange mix of description and bits of (invalid) code 
pieced together.
4. Patch is just a list of file hashes.
 [2013-10-15 11:54 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Mar 04 13:01:25 2021 UTC