====== PunBB 1.3 Bugs ====== Please, look through the list for the bug you have found. If there is no one, then add it. ===== PunBB 1.3 bugs ===== * Moderation bugs: * Incorrect hidden field value on actions with multiple topics (fixed in [898], [[hotfixes|hotfix]] in process). * XSS vulnerability, reported by [[http://punbb.informer.com/forums/user/14266/|PHPLizardo]] (fixed in [909], [[hotfixes|hotfix]] [[http://punbb.informer.com/update/manifest/hotfix_13_moderate_xss.xml|hotfix_13_moderate_xss]] released). * Replies and Views are exchanged in moderate.php, reported by coordinator (fixed in [932]). * There is no link to the reports page in the admin menu for moderators, reported by 8k84 (fixed in [940]). * Markup and language file issues (no [[hotfixes]] will be released if the bug results no errors): * Incorrect markup of the "download latest version" link ([[http://punbb.informer.com/trac/changeset/888/punbb/trunk/admin/extensions.php|fixed]]). * Missing language file entries for install.php, reported by [[http://punbb.informer.com/forums/user/2639/|coolhd]] (fixed in [891]). * Markup issues in the guest post form in post.php, reported by Adelf (fixed in [900]). * Markup issues in install.php (fixed in [901]). * Incorrect heading set in profile, reported by [[http://punbb.informer.com/forums/topic/20290/problem-in-profile-change-password/|fantasma]] (fixed in [902]). * Underline is working as italics ([[http://punbb.informer.com/forums/post/119506/#p119506|post by Garciat]], fixed in [922]). * Incorrect message ''you must copy/upload the file .htaccess from the extras directory'' in forum settings ([[http://punbb.informer.com/forums/topic/20298/incorrect-warning-where-is-the-extras-folder-re-custom-urls/|topic by esupergood]], fixed in [923]). * Make "new hotfixes" message more informative, see [[http://punbb.informer.com/forums/post/119664/#p119664|Forums topic by colak]] for details (fixed in [923]). * Breadcrumbs: Lack of link on topic subject => no topic permalink at all! (fixed in [924]) * Wrong appearing of 'sticky' word in search results, reported by [[http://punbb.informer.com/forums/topic/20292/all-topics-show-locked-in-show-recent-view-bug/|teva and Garciat]] (fixed in [910] and [928]). ===== PunBB 1.3.1 bugs ===== * Parser bugs * Incorrect quote tag parsing (reported by [[http://punbb.informer.com/forums/topic/20399/wrong-quote-brakes-forum-layout/|teva]], fixed in [969]). * Incorrect URL handling (reported by [[http://punbb.informer.com/forums/topic/20396/minor-bug-in-parser/|8k84]], fixed in [970]). * Sequrity issues (reported by [[http://www.suspekt.org/|Stefan Esser]], hotfixes have been released): * [[punbb13:bugs#possible_xss_in_login|possible XSS in login]]; * [[punbb13:bugs#potential_sql-injections_in_adminsettings.php_via_configuration_values|potential SQL-injections in admin/settings.php via configuration values]]; * [[punbb13:bugs#potential_sql-injections_at_adminusers.php_page|potential SQL-injections at admin/users.php page]]. * There is no ' class="isactive"' in the Profile link in the main navigation menu (fixed in [964]). ===== PunBB 1.3.2 bugs ===== * User count in user search results is displayed incorrect ([[http://punbb.informer.com/forums/topic/21006/user-list-bug/|reported by 8k84]], fixed in [1065]). * Messages in feeds are shown as they are stored in DB, without parsing ([[http://punbb.informer.com/forums/topic/21221/rss-items-html-parsing/|reported by alpha2zee]], fixed in [1070]). * Incorrect layout in viewforum.php when "Topic views" is disabled (reported by [[http://punbb.informer.com/forums/topic/20413/incorrect-layout-in-viewforumphp-when-topic-views-is-disabled/|burina]], fix by AracornRed in [1073]). * Incorrect hooks positions (reported by [[http://punbb.informer.com/forums/topic/21059/profile-hooks-not-run-in-certain-cases/|Cereal]], [[http://punbb.informer.com/forums/topic/20905/hooks-adding-new-users-permissions/|YonasH]], [[http://punbb.informer.com/forums/topic/20755/duplicated-hook/|Strofanto]]; fixed in [1068], [1079]). * Markup issues and hooks location in moderate.php, search.php, viewforum.php ([1073], [1089] and [1092]). * IE6 CSS issues (reported by [[http://punbb.informer.com/forums/topic/20871/contact-links-outside-the-page-layout-under-ie6-in-oxygen-fix-found/|Ishimaru Chiaki]], [[http://punbb.informer.com/forums/topic/21389/ordered-list-in-the-rules-text-problem/|8k84]], fixed in [1106] and [1113]). * The usage of language pack at the final stage of installing process ([[http://punbb.informer.com/forums/topic/20517/2-issues-with-the-installer-of-132/|reported by Dan_y2k]], fixed in [1108]). * Incorrect HTTP response code (503 instead 404) for non-existent pages when SEF is enabled ([[http://punbb.informer.com/forums/topic/21081/rewrite-nonexistent-page-returns-503-instead-of-404-code/|reported by commanche]], fixed in [1118]). ===== PunBB 1.3.3 bugs ===== * Inverse numbering of previous posts on post preview ([[http://punbb.informer.com/forums/topic/21632/inverse-numbering-of-previous-posts-when-writing-a-new-one/|reported by maststef]], fixed in [1162]). * Possible XSS vulnerability in profile.php on password and e-mail change (reported by Richard Sammet, fixed in [1164], [[hotfixes|hotfix]] [[http://punbb.informer.com/update/manifest/hotfix_133_xss_attack_in_profile.xml|hotfix_133_xss_attack_in_profile]] released). ===== PunBB 1.3.4 bugs ===== * Seems like checking of csrf tokens does not involve correspondent timeout in a right way (fixed in [1325], [[http://punbb.informer.com/forums/post/128539/|fix by bedroom]]). * FIXME One can't post in a forum if there is only post permission (reported by [[http://punbb.informer.com/forums/topic/21695/error-in-postphp-querry/|Cereal]]). * FIXME Unsubscribe CSS issue: http://punbb.informer.com/forums/post/122868/#p122868 * FIXME Just after installing the 'online' table takes a lot of diskspace on some systems (for example, 1.6 Mb on PHP: 4.4.9, Accelerator: eAccelerator, DB: MySQL Standard 4.1.22; see also a [[http://punbb.informer.com/forums/topic/20394/database-size/|topic on forums]]). * FIXME Updating script (''admin/db_update.php'') issues? ===== Security issue details ===== We provide the details of some fixed security bugs here. ==== Possible XSS in moderate ==== A topic title was not converted to HTML in forum moderation. A user could steal moderator's & administrator's session by injecting JavaScript in the topic title. * [[http://img46.xooimage.com/files/1/c/c/audit-81779a.txt|Reported by PHPLizardo]]. * Forum versions vulnerable: PunBB 1.3 * Vulnerability type: [[http://en.wikipedia.org/wiki/Cross-site_scripting|XSS]] * Fixed in [909]. * Hotfix [[http://punbb.informer.com/update/manifest/hotfix_13_moderate_xss.xml|hotfix_13_moderate_xss]] released. ==== Possible XSS in login ==== Password field value (set directly from POST-request) was not properly escaped, so that one could use it to execute JavaScript. CSRF confirm message would be displayed. * Reported by [[http://www.suspekt.org/|Stefan Esser]]. * Forum versions vulnerable: PunBB 1.3, PunBB 1.3.1. * Vulnerability type: [[http://en.wikipedia.org/wiki/Cross-site_scripting|XSS]] * Fixed in [962]. * Hotfix [[http://punbb.informer.com/update/manifest/hotfix_131_xss_attack_in_login.xml|hotfix_131_xss_attack_in_login]] released. ==== Potential SQL-injections at admin/users.php page ==== The values of ''$_POST['order_by']'' and ''$_POST['direction']'' were escaped, but not logically checked before using in SQL query at the ''Administration'' => ''Users'' page. One could execute any SQL query via making administrator to send a POST-request (e.g. giving him a link to the specially formed page). CSRF confirm message would be displayed. * Forum versions vulnerable: PunBB 1.3, PunBB 1.3.1. * Reported by [[http://www.suspekt.org/|Stefan Esser]]. * Vulnerability type: [[http://en.wikipedia.org/wiki/SQL_injection|SQL injection]] * Fixed in [963]. * Hotfix [[http://punbb.informer.com/update/manifest/hotfix_131_sql_injection_in_admin_users.xml|hotfix_131_sql_injection_in_admin_users]] released. ==== Potential SQL-injections in admin/settings.php via configuration values ==== The values of configuration options were not checked before using in SQL query at ''Administration'' => ''Settings'' page. One could execute any SQL query via making administrator to send a POST-request (e.g. giving him a link to the specially formed page). CSRF confirm message would be displayed. * Forum versions vulnerable: PunBB 1.3, PunBB 1.3.1. * Reported by [[http://www.suspekt.org/|Stefan Esser]]. * Vulnerability type: [[http://en.wikipedia.org/wiki/SQL_injection|SQL injection]] * Fixed in [965]. * Hotfix [[http://punbb.informer.com/update/manifest/hotfix_131_sql_injection_in_admin_settings.xml|hotfix_131_sql_injection_in_admin_settings]] released. ====== See also ====== * [[hotfixes|PunBB 1.3 hotfixes]] * [[:roadmap|PunBB roadmap]] ====== Links ====== * [[http://punbb.informer.com/forums/forum/70/punbb-13-bug-reports/|PunBB 1.3 bug reports]] forum in [[http://punbb.informer.com/forums/|PunBB Forums]].