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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 09 16:02:26 2025 UTC