php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2324 pg_connect connects as web server, not script owner
Submitted: 1999-09-18 20:38 UTC Modified: 1999-09-18 21:15 UTC
From: mpg4 at duluoz dot net Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 3.0.12 OS: Linux 2.0.36
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: mpg4 at duluoz dot net
New email:
PHP Version: OS:

 

 [1999-09-18 20:38 UTC] mpg4 at duluoz dot net
The PostgreSQL functions are run as the web server user, not as the owner of the script that called them.  This means that any user can view the contents of any database that the web server can see.  

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-18 21:15 UTC] rasmus at cvs dot php dot net
That's the way it works.  No bug here
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 04:01:30 2024 UTC