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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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 22:01:33 2025 UTC