Bug 54165 - [patch]fix 2 serious problem in phpbb 2.0.5
Summary: [patch]fix 2 serious problem in phpbb 2.0.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-07 05:00 UTC by Liu Kang
Modified: 2003-07-07 09:05 UTC (History)
0 users

See Also:


Attachments
file.diff (2.53 KB, patch)
2003-07-07 05:00 UTC, Liu Kang
no flags Details | Diff
file.diff (1.36 KB, patch)
2003-07-07 05:00 UTC, Liu Kang
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Liu Kang 2003-07-07 05:00:35 UTC
phpbb 2.0.5 contains 2 serious problem:
1. SQL injection vulnerability in viewtopic.php (reference: 
http://www.phpbb.com/phpBB/viewtopic.php?t=112052)
2. potential vulnerability in admin/admin_styles.php (reference: 
http://www.phpbb.com/phpBB/viewtopic.php?t=113826)

I must apologize that I just update phpbb to 2.0.5 but didn't fix those 2 
vulnerability although I mention it in my last PR. ports/53691 
http://www.freebsd.org/cgi/query-pr.cgi?pr=53691
:-(

Fix: PORTNAME=      phpbb
PORTVERSION=   2.0.5
-#PORTREVISION= 1
+PORTREVISION=  1
CATEGORIES=    www
MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=    ${PORTNAME}
@@ -59,6 +59,8 @@
post-patch:
       @ ${REINPLACE_CMD} -e "s#\.\./templates#/${PHPBBURL}/templates#" \
         ${WRKSRC}/docs/*.html
+       @ ${RM} ${WRKSRC}/viewtopic.php.orig
+       @ ${RM} ${WRKSRC}/admin/admin_styles.php.orig

post-configure:
       @ ${SED} \



_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus--Kf0hPjvV4Ep1vLm1sl7toCyhvbaUVulVKOF8w18WTTzc9Htm
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.orig       Sun Jul  6 23:19:39 2003
+++ Makefile    Mon Jul  7 02:02:54 2003
@@ -7,7 +7,7 @@
How-To-Repeat:         n/a
Comment 1 Norikatsu Shigemura freebsd_committer freebsd_triage 2003-07-07 09:05:01 UTC
State Changed
From-To: open->closed

Committed, thanks!