<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="chinese">
	<id>https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=CVE-2005-0603_phpBB_2.0.12%E8%B7%AF%E5%BE%91%E6%B3%84%E6%BC%8F%E6%BC%8F%E6%B4%9E</id>
	<title>CVE-2005-0603 phpBB 2.0.12路徑泄漏漏洞 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pwnwiki.com/index.php?action=history&amp;feed=atom&amp;title=CVE-2005-0603_phpBB_2.0.12%E8%B7%AF%E5%BE%91%E6%B3%84%E6%BC%8F%E6%BC%8F%E6%B4%9E"/>
	<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=CVE-2005-0603_phpBB_2.0.12%E8%B7%AF%E5%BE%91%E6%B3%84%E6%BC%8F%E6%BC%8F%E6%B4%9E&amp;action=history"/>
	<updated>2026-04-10T02:02:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://pwnwiki.com/index.php?title=CVE-2005-0603_phpBB_2.0.12%E8%B7%AF%E5%BE%91%E6%B3%84%E6%BC%8F%E6%BC%8F%E6%B4%9E&amp;diff=824&amp;oldid=prev</id>
		<title>Pwnwiki: Created page with &quot;==INFO== &lt;pre&gt; CVE: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0603 -------------------------------------------------------- [N]eo [S]ecurity [T]eam [NST]® - Adv...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pwnwiki.com/index.php?title=CVE-2005-0603_phpBB_2.0.12%E8%B7%AF%E5%BE%91%E6%B3%84%E6%BC%8F%E6%BC%8F%E6%B4%9E&amp;diff=824&amp;oldid=prev"/>
		<updated>2021-04-01T02:35:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==INFO== &amp;lt;pre&amp;gt; CVE: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0603 -------------------------------------------------------- [N]eo [S]ecurity [T]eam [NST]® - Adv...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==INFO==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CVE: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0603&lt;br /&gt;
--------------------------------------------------------&lt;br /&gt;
[N]eo [S]ecurity [T]eam [NST]® - Advisory #06 - 25/02/05&lt;br /&gt;
--------------------------------------------------------&lt;br /&gt;
Program:  phpBB 2.0.12&lt;br /&gt;
Homepage:  http://www.phpbb.com&lt;br /&gt;
Vulnerable Versions: phpBB 2.0.12 &amp;amp; Lower versions&lt;br /&gt;
Risk: Low Risk!!&lt;br /&gt;
Impact: Full path disclosure&lt;br /&gt;
&lt;br /&gt;
      -==phpBB 2.0.12 Full path disclosure==-&lt;br /&gt;
---------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
- Description&lt;br /&gt;
---------------------------------------------------------&lt;br /&gt;
phpBB is a high powered, fully scalable, and highly customizable&lt;br /&gt;
Open Source bulletin board package. phpBB has a user-friendly&lt;br /&gt;
interface, simple and straightforward administration panel, and&lt;br /&gt;
helpful FAQ. Based on the powerful PHP server language and your&lt;br /&gt;
choice of MySQL, MS-SQL, PostgreSQL or Access/ODBC database servers,&lt;br /&gt;
phpBB is the ideal free community solution for all web sites.&lt;br /&gt;
&lt;br /&gt;
- Tested&lt;br /&gt;
---------------------------------------------------------&lt;br /&gt;
localhost &amp;amp; many forums&lt;br /&gt;
&lt;br /&gt;
- Explotation&lt;br /&gt;
---------------------------------------------------------&lt;br /&gt;
phpBB/viewtopic.php?p=6&amp;amp;highlight=\[HaCkZaTaN]&lt;br /&gt;
&lt;br /&gt;
It'll come out something like this.&lt;br /&gt;
&lt;br /&gt;
Warning: Compilation failed: missing terminating ] for&lt;br /&gt;
character class at offset 20 in /home/nst/forum/viewtopic.php(1110) :&lt;br /&gt;
regexp code on line 1&lt;br /&gt;
&lt;br /&gt;
It'll give a full path disclosure and also one thing that i noticed is&lt;br /&gt;
that the posts change it doesn't come out nothing.&lt;br /&gt;
In the HighLight Variable&lt;br /&gt;
&lt;br /&gt;
Here is the problem:&lt;br /&gt;
-----[ Start Vuln Code ] ------------------------------------&lt;br /&gt;
&lt;br /&gt;
1106: if ($highlight_match)&lt;br /&gt;
1107: {&lt;br /&gt;
1108: // This was shamelessly 'borrowed' from volker at multiartstudio dot de&lt;br /&gt;
1109: // via php.net's annotated manual&lt;br /&gt;
1110: $message = str_replace('\&amp;quot;', '&amp;quot;', \&lt;br /&gt;
substr(preg_replace('#(\&amp;gt;(((?&amp;gt;([^&amp;gt;&amp;lt;]+|(?R)))*)\&amp;lt;))#se', &amp;quot;preg_replace('#\b(&amp;quot; . \&lt;br /&gt;
$highlight_match . &amp;quot;)\b#i', '&amp;lt;span style=\&amp;quot;color:#&amp;quot; . $theme['fontcolor3'] . \&lt;br /&gt;
                &amp;quot;\&amp;quot;&amp;gt;&amp;lt;b&amp;gt;\\\\1&amp;lt;/b&amp;gt;&amp;lt;/span&amp;gt;', '\\0')&amp;quot;, '&amp;gt;' . $message . '&amp;lt;'), 1, -1)); 1111: }&lt;br /&gt;
&lt;br /&gt;
-----[ Ends Vulns Code ] ------------------------------------&lt;br /&gt;
Don't borrow stuff lol.&lt;br /&gt;
&lt;br /&gt;
- Exploit&lt;br /&gt;
---------------------------------------------------------&lt;br /&gt;
Not Yet xD&lt;br /&gt;
 &lt;br /&gt;
- Solutions&lt;br /&gt;
--------------------------------------------------------&lt;br /&gt;
Not Yet xD&lt;br /&gt;
&lt;br /&gt;
OK other thing that i noticed was in php.ini&lt;br /&gt;
&lt;br /&gt;
magic_quotes_gpc = On&lt;br /&gt;
magic_quotes_sybase = Off&lt;br /&gt;
&lt;br /&gt;
you have to turn both of them ON&lt;br /&gt;
&lt;br /&gt;
- References&lt;br /&gt;
--------------------------------------------------------&lt;br /&gt;
http://neossecurity.net/Advisories/Advisory-06.txt&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- Credits&lt;br /&gt;
-------------------------------------------------&lt;br /&gt;
Discovered by HaCkZaTaN &amp;lt;hck_zatan@hotmail.com&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[N]eo [S]ecurity [T]eam [NST]® - http://neossecurity.net/&lt;br /&gt;
&lt;br /&gt;
Got Questions? http://neossecurity.net/&lt;br /&gt;
&lt;br /&gt;
Irc.InfoGroup.cl #neosecurityteam&lt;br /&gt;
&lt;br /&gt;
- Greets&lt;br /&gt;
--------------------------------------------------------&lt;br /&gt;
           Paisterist&lt;br /&gt;
           T0wn3r&lt;br /&gt;
	   Heap&lt;br /&gt;
           Nitrous&lt;br /&gt;
           CrashCool&lt;br /&gt;
           eL_mEsIaS&lt;br /&gt;
           Makoki&lt;br /&gt;
&lt;br /&gt;
           And my Colombian people&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Pwnwiki</name></author>
	</entry>
</feed>