i386/76013: patch to allow mod_frontpage to work with security fix
from rtr
Joe Rhett
jrhett at meer.net
Sun Jan 9 14:00:49 PST 2005
>Number: 76013
>Category: i386
>Synopsis: patch to allow mod_frontpage to work with security fix from rtr
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: freebsd-i386
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 09 22:00:48 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Joe Rhett
>Release: FreeBSD 4.10-RELEASE-p5 i386
>Organization:
meer.net
>Environment:
System: FreeBSD meme.sv.meer.net 4.10-RELEASE-p5 FreeBSD 4.10-RELEASE-p5 #0: Wed Dec 29 18:23:27 PST 2004 meer at meme.sv.meer.net:/d/RELENG_4_10/src/sys/compile/CRYSTAL i386
>Description:
The frontpage port uses the microsoft compilation, which requires compat3x.
The rtr-compiled frontpage binaries uses 4.x libraries and are therefore not suspect,
however they changed a path in the installation. This patch to mod_frontpage matches
that change, thus allowing mod_frontpage to work with the rtr-supplied binaries.
>How-To-Repeat:
Install the rtr-supplied binaries for frontpage to solve known security problem.
None of the images appear in the admin pages.
>Fix:
Change the path hardcoded into the mod_frontpage binary (patch included here)
--- fpstatic.c_orig Sun Jan 9 13:05:30 2005
+++ fpstatic.c Sat Jan 8 00:40:12 2005
@@ -433,7 +433,7 @@
} else if ((pos = strstr(uri, ".gif")) != NULL) {
pos = strrchr((char *)uri, '/');
snprintf((char *)fnbuf, sizeof(fnbuf), "%s%s%s%s%s",
- FPBASE, _EXES, _VTI_ADM, _IMAGES, pos);
+ FPBASE, _EXES, _VTI_BIN, _IMAGES, pos);
/*
* Check to see if the user is changing the password,
* which has a URL like _vti_bin/_vti_aut/ passwd.htm.
>From meer Sun Jan 9 13:18:32 2005
Return-Path: <meer>
Received: (from meer at localhost)
by meme.sv.meer.net (8.12.11/8.12.11) id j09LIWaU025666;
Sun, 9 Jan 2005 13:18:32 -0800 (PST)
(envelope-from meer)
Message-Id: <200501092118.j09LIWaU025666 at meme.sv.meer.net>
Date: Sun, 9 Jan 2005 13:16:09 -0800 (PST)
To: FreeBSD-gnats-submit at freebsd.org
Subject: patch to allow mod_frontpage to work with security fix from rtr
From: Joe Rhett <jrhett at meer.net>
Cc:
X-send-pr-version: 3.113
X-GNATS-Notify:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-i386
mailing list