Waraxe IT Security Portal
Login or Register
October 3, 2024
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: 72
Members: 0
Total: 72
Full disclosure
SEC Consult SA-20240930-0 :: Local Privilege Escalation via MSI Installer in Nitro PDF Pro (CVE-2024-35288)
Backdoor.Win32.Benju.a / Unauthenticated Remote CommandExecution
Backdoor.Win32.Prorat.jz / Remote Stack Buffer Overflow (SEH)
Backdoor.Win32.Amatu.a / Remote Arbitrary File Write (RCE)
Backdoor.Win32.Agent.pw / Remote Stack Buffer Overflow (SEH)
Backdoor.Win32.Boiling / Remote Command Execution
Defense in depth -- the Microsoft way (part 88): a SINGLEcommand line shows about 20, 000 instances of CWE-73
SEC Consult SA-20240925-0 :: Uninstall Password Bypass in BlackBerry CylanceOPTICS Windows Installer Package (CVE-2024-35214)
Apple iOS 17.2.1 - Screen Time Passcode Retrieval (MitigationBypass)
CyberDanube Security Research 20240919-0 | Multiple Vulnerabilities in Netman204
Submit Exploit CVE-2024-42831
Stored XSS in "Edit Profile" - htmlyv2.9.9
Stored XSS in "Menu Editor" - htmlyv2.9.9
Backdoor.Win32.BlackAngel .13 / Unauthenticated Remote CommandExecution
Backdoor.Win32.CCInvader. 10 / Authentication Bypass
[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 ] ------------------------------------









Copyright © by Waraxe IT Security Portal All Right Reserved.

Published on: 2009-10-21 (16307 reads)

[ Go Back ]
Top members by posts
waraxe  waraxe - 2407
vince213333  vince213333 - 737
pexli  pexli - 665
Mullog  Mullog - 540
demon  demon - 485
shai-tan  shai-tan - 477
LINUX  LINUX - 404
Cyko  Cyko - 375
tsabitah  tsabitah - 328
y3dips  y3dips - 281
Cybercrime news
Ransowmare Crew Infects 100+ Orgs Monthly With New MedusaLocker Variant
Evil Corp/REvil Malware Crime Group Outed As Family Affair
More LockBit Hackers Arrested, Unmasked As Servers Siezed
Ransomware Forces Hospital To Turn Away Ambulances
Ransomware Gang Using Stolen MS Entra ID Creds To Bust Into Cloud
RansomHub Genius Tries To Put The Squeeze On Delaware Libraries
US Indicts Two Over Socially Engineered $230M+ Crypto Heist
Life Imitates xkcd Comic As Florida Gang Beats Crypto Password From Retiree
Cyber Crooks Strut Away With Haute Couture Harvey Nichols Data
Marko Polo Hackers Found To Be Running Dozens Of Scams
Hackers Demand $6 Million From Seattle Airport Operators
Recent WhatsUp Gold Vulnerabilities Possibly Exploited In Ransomware Attacks
Cops Across The World Arrest 51 In Orchestrated Takedown Of Ghost Crime Platform
France Uses Tough, Untested Cybercrime Law To Target Durov
Ransomware Group Leaks Data Stolen From Kawasaki Motors
Old WHOIS Domain Could Have Issued Fraudulent TLS/SSL Certs
Hackers Use Cloud Services To Target Financial And Insurance Firms
When You Pay A Ransom And The Decryptor Doesn't Work
Crypto Scams Rake In $5.6B A Year For Lowlifes, FBI Says
Cisco Merch Shoppers Stung In Magecart Attack
Planned Parenthood Confirms Attack Claimed By RansomHub
Russian Doppelganger Campaign Exposed
FBI: North Korea Aggressively Hacking Cryptocurrency Firms
RansomHub Claims 210 Victims In Just 6 Months
US Government Issues Advisory On Ransomware Group Blamed For Halliburton Cyberattack
Hacker news
Ransowmare Crew Infects 100+ Orgs Monthly With New MedusaLocker Variant
Ivanti EPM Vulnerability Exploited In The Wild
Zero-Day Breach At Rackspace Sparks Vendor Blame Game
More LockBit Hackers Arrested, Unmasked As Servers Siezed
T-Mobile Pays $16 Million Fine For Three Years' Worth Of Data Breaches
Rackspace Internal Monitoring Web Servers Hit By Zero Day
WMDDH Discloses Data Breach Impacting 127,000
Cloud Threats Have Execs The Most Freaked Out Because They're Not Prepared
Five Eyes Agencies Release Guidance On Detecting Active Directory Intrusions
Ransomware Gang Using Stolen MS Entra ID Creds To Bust Into Cloud
Millions Of Kia Cars Were Vulnerable To Remote Hacking
Cyberattack Investigated At UK's Busiest Train Stations
China's Salt Typhoon Cyber Spies Are Deep Inside US ISPs
Deloitte Says No Threat To Sensitive Data After Hacker Claims Breach
RansomHub Genius Tries To Put The Squeeze On Delaware Libraries
Ivanti Warns Of Second CSA Vuln Exploited In Attacks
Cyberattack On Kansas Water Treatment Facility Investigated By Feds
Move Over, Cobalt Strike. Splinter's The New Post Exploit Menace In Town
US Indicts Two Over Socially Engineered $230M+ Crypto Heist
China Urges Vigilance Against Taiwanese Cyberattacks
Secret Calculator Hack Brings ChatGPT To The TI-84, Enabling Easy Cheating
Exploiting Exploiting Exchange PowerShell After ProxyNotShell: Part 3 – DLL Loading Chain for RCE
Using YouTube To Steal Your Files
Cyber Crooks Strut Away With Haute Couture Harvey Nichols Data
Marko Polo Hackers Found To Be Running Dozens Of Scams
Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
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.042 Seconds