[oCERT-2011-001] Chyrp input sanitization errors Jul 13 2011 08:17PM
Andrea Barisani (lcars ocert org)

#2011-001 Chyrp input sanitization errors


The Chyrp framework, an open source blogging engine, suffers from cross-site
scripting (XSS) and local file inclusion (LFI) vulnerabilities.

Insufficient input sanitization on the parameters passed to pages related to
administration settings, the javascript handler and the index handler leads to
arbitrary javascript injection in the context of the user session. This could
be potentially exploited to hijack the session of the administrator.

Insufficient path sanitization on the root 'action' query string parameter
leads to inclusion of arbitrary files from local sources, this could be
exploited to read arbitrary accessible files on the hosting server filesystem
and potentially execute arbitrary commands or code.

Affected version:

Chyrp <= 2.1

Fixed version:

Chyrp, N/A

Credit: vulnerability report and PoC code received from Eldar Marcussen
<wireghoul [at] justanotherhacker [dot] com>.



2011-05-17: vulnerability report received
2010-05-17: contacted chyrp maintainers
2010-07-13: oCERT advisory published jointly with reporter advisory



Andrea Barisani | Founder & Project Coordinator
oCERT | OSS Computer Security Incident Response Team

<lcars (at) ocert (dot) org [email concealed]> http://www.ocert.org
0x864C9B9E 0A76 074A 02CD E989 CE7F AC3F DA47 578E 864C 9B9E
"Pluralitas non est ponenda sine necessitate"

[ reply ]


Privacy Statement
Copyright 2010, SecurityFocus