Waraxe IT Security Portal
Login or Register
August 30, 2026
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 509
Members: 0
Total: 509
Full disclosure
CyberDanube Security Research 20260611-0 | Multiple Denial of Service Vulnerabilities in Dahua IPC/SD/NVR/XVR/EVS/VTO/VT H/ASI/TPC Camera Series
Multiple Integer Overflows in U-Boot Filesystem Parsing(CVE-2025-70290 through CVE-2025-70293)
[ADVISORY] Multiple Integer Overflows in U-Boot FilesystemParsing (CVE-2025-70290 through CVE-2025-70293)
JSON Deserialiser Unconstrained Resource Consumption Proof ofConcept
Dovecot Security Advisory 3/2026
FD - Half-click unauthenticated remote code execution on Horde Groupware IMP (from a stored XSS)
[NotCVE-2026-0013] CHIRP Kenwood ITM Driver Eval Injection Allows Arbitrary Code Execution via Crafted Radio File
[NotCVE-2026-0012] EmpManageX Hardcoded Administrative Credentials in Login API Allow Full Access to Employee Records
[NotCVE-2026-0011] Nmap 7.99 and Earlier nselib/packet.lua Zero-Length TCP Option Infinite Loop Allows Remote Denial of Service
[NotCVE-2026-0010] Barrier 2.4.0 for Windows Unauthenticated IPC Command Execution Allows Local Privilege Escalation to SYSTEM
[NotCVE-2026-0009] NitroShare Desktop 0.3.4 Path Traversal Allows LAN-Adjacent Arbitrary File Write
Escargot v4.3.0-214-gfaee4437 Unauthenticated Remote Debugger Allows Arbitrary JavaScript Evaluation and Local File Disclosure
Escargot v4.3.0-214-gfaee4437 OS Command Injection in Crash Handler via Unsanitized Executable Path
Escargot v4.3.0-214-gfaee4437 Debugger WebSocket Off-by-One Stack Buffer Overflow
UltraJSON v5.13.0-6-g733f9e1 Length-Boundary Violation Causes Out-of-Bounds Read During Incomplete JSON Parsing
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> All other security holes -> New advisory - Remote File Disclosure in Vivvo CMS 4.1.5.1
Post new topicReply to topic View previous topic :: View next topic
New advisory - Remote File Disclosure in Vivvo CMS 4.1.5.1
PostPosted: Wed Oct 21, 2009 4:51 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Code:


[waraxe-2009-SA#075] - Remote File Disclosure in Vivvo CMS 4.1.5.1
===============================================================================

Author: Janek Vind "waraxe"
Date: 21. October 2009
Location: Estonia, Tartu
Web: http://www.waraxe.us/advisory-75.html


Description of vulnerable software:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Vivvo CMS is an intuitive content management system atop a powerful programming
framework, empowering numerous industry leading online newspapers, magazines,
journals, TV and radio stations.

http://www.vivvo.net/


List of found vulnerabilities
===============================================================================

1. Remote File Disclosure in "files.php"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reasons:
1. wrongly implemented filtering of user submitted data

Preconditions: none

Impact: remote attacker can download arbitrary files from target server

Remarks:
1. authentication is not needed
2. POST parameters or cookies can be used as attack vector
3. Vulnerable are all Vivvo CMS versions >= 4.1.0

-----------------------------[source code start]-------------------------------
if (isset($_REQUEST["file"])) {
$filename = str_replace('..', '', $_REQUEST["file"]);
$filename = str_replace('logs/', '', $filename);
$file = VIVVO_FS_ROOT . 'files/' . $filename;
if (file_exists($file) && !is_link($file) && !is_dir($file)){
$file_split = explode('.', $file);
$ext = end ($file_split);
...
header("Content-type: application/force-download");
header("Content-disposition: attachment; filename=\"".basename($file)."\"");
}
readfile($file);
-----------------------------[source code end]---------------------------------

Source code snippet above takes user submitted parameter "file" and will use it
in file path. There is security measure against obvious directory traversal
risk - double dots ("..") are filtered out from user submitted data.

Let's try this:

http://localhost/vivvo.4.1.5.1/files.php?file=../conf.php

... and we get 404 error:

Page Not Found
The requested URL was not found on this server.
If you believe this page should be here, please notify administrator.

OK, directory traversal is not possible here. But ... wait a minute ...
What happens, if we try something like this:

http://localhost/vivvo.4.1.5.1/files.php?file=.logs/./conf.php

Oops, we can download Vivvo CMS configuration file with sensitive data inside.
How about database backup?

http://localhost/vivvo.4.1.5.1/files.php?file=.logs/./backup/21-10-2009-18-46_vivvo4151.sql.gz

... and we have admin's password hash (simple MD5) in our possession.
Database backup's filename must be guessed before successful download, but it is
not complex task. We allready know database name (from conf.php), there is
only 1440 minutes in one day, so attacker can use bruteforce for filename guessing.
For example, if backup is done within last 30 days, then maximum 43200 requests
is needed for successful database backup fetching.

As vulnerable input variable is $_REQUEST["file"], then attack vector can be
not only GET parameter, but also POST parameter or even cookie. As most real
world webservers do not log POST data and cookies, then such method can make
attack less "noisy". Proof of concept:

1. open Vivvo webpage:

http://localhost/vivvo.4.1.5.1/

2. use javascript for cookie manipulation:

javascript:document.cookie="file=.logs/./conf.php";

3. open same webpage again and download of "conf.php" is possible.


Greetings:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Greets to ToXiC, y3dips, Sm0ke, Heintz, slimjim100, pexli, zerobytes, str0ke,
to all active waraxe.us forum members and to anyone else who know me!


Contact:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

come2waraxe@yahoo.com
Janek Vind "waraxe"

Waraxe forum: http://www.waraxe.us/forums.html
Personal homepage: http://www.janekvind.com/
---------------------------------- [ EOF ] ------------------------------------
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Thu Oct 22, 2009 6:47 am Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




...or use plugin LiveHeaders in Mozilla to send Cookie: file=.log/../ ...etc

Great find waraxe.Thanks.
View user's profile Send private message
New advisory - Remote File Disclosure in Vivvo CMS 4.1.5.1
www.waraxe.us Forum Index -> All other security holes
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 1

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



PCWizardHub - Helping you fix, build, and optimize your PC life
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.045 Seconds