Previous Thread
Next Thread
Print Thread
Rate Thread
#43324 05/16/2001 7:58 PM
Joined: Nov 2000
Posts: 123
CT
Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
Hello,

I think I discovered some kind of securitybug in 5.4x

It is possible to retrieve all logged IP numbers from posters by retrieving the link www.your_ubb.com/ubb/Forum1/000001.cgi

You can do this on any forum by just changing the ForumX and 00000x.cgi.

I don't want my visitors IP to show, but I do want it logged. I now have chmod all my 00000x.cgi files to 640, but whenever someone posts it is being set back to 666 again.

Am I doing something wrong here or if not and this really is a security bug that reveals the IP's of all visitors, does someone know all the exact chmod instructions to replace?

Code
code:

Should be:

Code
code:

Or am I wrong?

Thanks for your help,

CT.

Sponsored Links
#43325 05/16/2001 8:19 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
Joined: Oct 2000
Posts: 743
What you said doesnt work on my UBB


I can't afford a good signature editor frown
#43326 05/17/2001 1:48 AM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
It's not so much a bug in ubb as a bug in the server setup. Set up your server not to show .cgi file outside of the cgi bin

but yes, i like your fix too laugh

Just a thought smile

#43327 05/17/2001 6:58 PM
Joined: Nov 2000
Posts: 123
CT
Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
Well...

Since I run a virtual server my solution is the only one. I can not alter anything in the server setup.

The quote I made was from postings.cgi

Does anyone know if there are more places where I can find the 666 > 640 fix?

#43328 05/18/2001 1:52 AM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
The following files contain the string "0666, "$ForumsPath":

archive.cgi
cpanel2.cgi
cpanel3.cgi
edit.cgi
postings.cgi
ubb_library.pl
ubb_library2.pl

Just a thought smile

Sponsored Links
#43329 05/18/2001 5:35 PM
Joined: Nov 2000
Posts: 123
CT
Offline
Member
Member
Offline
Joined: Nov 2000
Posts: 123
Thanks man...


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,834
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 6013
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 14
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
isaac 2
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)