exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Limny 2.2 Expression Language Injection

Limny 2.2 Expression Language Injection
Posted Oct 12, 2016
Authored by indoushka

Limny version 2.2 suffers from an expression language injection vulnerability.

tags | exploit
SHA-256 | 1ae06ced3ba07f66000608a517bf1301cfddd1d33d6231f000b016084669a8e1

Limny 2.2 Expression Language Injection

Change Mirror Download
========================================================================
| # Title : limny 2.2 Expression language injection vulnerability
| # Author : indoushka
| # email : indoushka4ever@gmail.com
| # Tested on : windows 8.1 FranASSais V.(Pro)
| # Version : 2.2
| # Vendor : http://www.limny.org/
| # Dork : n/a
========================================================================

poc :


PHP code injection :

file : index.php

Line 28 " eval($value.';'); "

http://127.0.0.1//limny-2.2/?q=%24{%40${@system(dir)}}

Expression language injection vulnerability :

Vulnerability description :

This script is possibly vulnerable to Expression Language Injection attacks.

To provide easy ways of outputting data from an object model that more closely resembles pure scripting languages,
Expression Language (EL) was developed as part of JSTL (Java Server Pages Standard Tag Library).

JSP EL is a specification (JSR-245 and JSR 252 [2]) and there are many implementations:
JSP 2.0/2.1: Used by most recently built applications, and delivered as part of the JSTL.
Jakarta: An older EL implementation built by Apache.
OGNL: A powerful EL popularized by Struts2/WebWork.
MVEL: A general purpose EL usable for console applications.
SPEL: Springs custom EL for scripting (not used in JSPs).

Expression Language Injection occurs when user input is evaluated by a J2EE servers Expression Language resolvers,
and a common opportunity for this vulnerability to occur today is with the usage of Spring JSP tags.

Affected items : /limny-2.2/index.php

The impact of this vulnerability :

The impacts of this attack range from a simple HttpOnly bypass to a server-side information leakage technique.
This information leakage will differ in severity mostly based on what J2EE technologies are in use and what is
in scope of the vulnerable code. One of the most dangerous abuse scenarios involves an attacker controlled page
inferring a users session ID on a browser thats currently logged into the vulnerable application.

How to fix this vulnerability :

Perform data validation best practice against untrusted input and to ensure that output encoding
is applied when data arrives on the EL layer, so that no metacharacter is found by the interpreter
within the user content before evaluation. The most obvious patterns
to detect include ${ and #{, but it may be possible to encode or fragment this data.

Attack details :

URL encoded GET input q was set to ${9999840-10937}

Pattern found:

9988903

Greetz : aua'>>a'1/2a'1/2a'dega'deg aua'degaua'degau a'>>a'*a'*auaua'>>------au-auau-a'deg a'degaua'degauPSaua'3a'>>au-------- aua'degauau!a'>>auau aua'degauaua'*oauaua'degau ------
|
jericho * Larry W. Cashdollar * moncet-1 * achraf.tn |
|
===================== pa'degaua'1/2a'>>au auauoauau aua'>>auauauauauauC/ =============================
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close