Lucene search
K

Leed Authentication Bypass, SQL Injection, CSRF

🗓️ 21 Dec 2013 00:00:00Reported by Alexandre HerzogType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 32 Views

Leed SQL Injection, Authorization Bypass, CSRF Vulnerabilitie

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2013-2627
18 Dec 201300:00
circl
CVE
CVE-2013-2627
21 Dec 201300:00
cve
CVE
CVE-2013-2628
21 Dec 201300:00
cve
CVE
CVE-2013-2629
23 Dec 201320:00
cve
Cvelist
CVE-2013-2627
21 Dec 201300:00
cvelist
Cvelist
CVE-2013-2628
21 Dec 201300:00
cvelist
Cvelist
CVE-2013-2629
23 Dec 201320:00
cvelist
EUVD
EUVD-2013-2566
7 Oct 202500:30
euvd
EUVD
EUVD-2013-2567
7 Oct 202500:30
euvd
EUVD
EUVD-2013-2568
7 Oct 202500:30
euvd
Rows per page
`#############################################################  
#  
# COMPASS SECURITY ADVISORY  
# http://www.csnc.ch/en/downloads/advisories.html  
#  
#############################################################  
#  
# Product: Leed (Light Feed)  
# Vendor: Valentin CARRUESCO aka Idleman  
# CSNC ID: CSNC-2013-005 (SQL Injection), CSNC-2013-006 (CSRF), CSNC-2013-007 (Authentication Bypass)  
# CVD ID: CVE-2013-2627 (SQL Injection), CVE-2013-2628 (CSRF), CVE-2013-2629 (Authentication Bypass)  
# Subject: Multiple vulnerabilities (see above)  
# Risk: High  
# Effect: Remotely exploitable  
# Author: Alexandre Herzog <[email protected]>  
# Date: 18.12.2013  
#  
#############################################################  
  
  
Introduction:  
-------------  
Leed is a lightweight RSS/ATOM aggregator based on PHP. It can be hosted   
on any server supporting PHP and aims to be an alternative to Google   
Reader and its substitutes. [1]   
  
  
  
Technical Description  
---------------------  
  
1. SQL injection (CSNC-2013-005 / CVE-2013-2627)  
The SQL injection is within the ID parameter of   
leed/action.php?action=removeFolder&id=-1 as user input does not get   
properly escaped. Escaping is otherwise done consistently across the   
remaining of the audited code. Exploiting this issue is tricky due to   
the HTML encoding, but not impossible, e.g.   
If select @@version returns '5.0.84-log' on your database,  
CAST(@@version as signed) will return 5  
Injection parameter (before encoding) would e.g. be  
IF(CAST(@@version as signed) in(5),BENCHMARK(2000000,SHA1(0)),-1)  
This blind SQL will last ~5 seconds on my installation as the condition  
is true. This way, you could extract information one by one from the  
mysql tables.  
  
2. Authorization bypasses in action.php (CSNC-2013-007 / CVE-2013-2629)  
The following actions can be called anonymously, as the $myUser variable  
isn't verified:  
- importForm  
- importFeed  
- addFavorite  
- removeFavorite  
  
3. Missing anti cross-site request forgery token (CSNC-2013-006 / CVE-2013-2628)  
None of the actions done within action.php requires a token to defeat CSRF.  
This means malicious action can be executed under the identity of a logged  
in Leed admin if the victim clicks on a malicious link or visits a website  
under the attacker's control.  
  
  
Workaround / Fix:  
-----------------  
Upgrade to the latest available version of Leed.  
  
  
Timeline:  
---------  
2013-12-18: Public disclosure date  
2013-03-19: GIT commit of the fixes  
2013-03-19: Initial vendor response  
2013-03-19: Discovery by Alexandre Herzog & initial vendor notification  
  
  
References:  
-----------  
[1] http://projet.idleman.fr/leed/  
  
--  
Alexandre Herzog, IT Security Analyst, Compass Security AG  
Werkstrasse 20, 8645 Jona, Switzerland  
Schauplatzgasse 39, 3011 Bern, Switzerland  
Tel: +41 55 214 41 66  
http://www.csnc.ch/  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

21 Dec 2013 00:00Current
0.5Low risk
Vulners AI Score0.5
EPSS0.00397
32