Related Weaknesses
CWE-ID |
Weakness Name |
Source |
CWE-20 |
Improper Input Validation The product receives input or data, but it does
not validate or incorrectly validates that the input has the
properties that are required to process the data safely and
correctly. |
|
Metrics
Metrics |
Score |
Severity |
CVSS Vector |
Source |
V2 |
9 |
|
AV:N/AC:L/Au:S/C:C/I:C/A:C |
nvd@nist.gov |
EPSS
EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.
EPSS Score
The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.
EPSS Percentile
The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.
Exploit information
Exploit Database EDB-ID : 29544
Publication date : 2013-11-11 23h00 +00:00
Author : Sense of Security
EDB Verified : No
Sense of Security - Security Advisory - SOS-13-003 security advisory
Release Date. 10-Sep-2013
Last Update. -
Vendor Notification Date. 27-Sep-2012
Product. Juniper Junos J-Web
Platform. Junos
Affected versions. All builds prior to 2013-02-28 are affected
Severity Rating. Medium
Impact. Privilege escalation
Attack Vector. From remote with read-only authentication
Solution Status. Vendor patch (not verified by SOS)
Disable J-Web or limit access
CVE reference. CVE - not yet assigned
Details.
The J-Web is a GUI based network management application used on Junos
devices. The web application is vulnerable to a remote code execution
vulnerability which permits privilege escalation. The file/jsdm/ajax
/port.php allows execution of arbitrary user supplied PHP code via the
rs POST parameter. Code executes with UID=0 (root) privileges, however
you are confined to a chroot. Privilege escalation can be achieved by
waiting for an administrator to log in and reading the contents of /tmp
to hijack their session.
Proof of Concept.
Code execution: Execute a command inside the Chroot:
POST /jsdm/ajax/port.php
rs=exec&rsargs[]=echo “hello”
Privilege escalation: Read /tmp and hijack a session
POST /jsdm/ajax/port.php
rs=file_get_contents&rsargs[]=/tmp
Solution.
All Junos OS software releases built on or after 2013-02-28 have fixed
this specific issue. This fix has not been validated by SOS.
As a workaround disable J-Web, or limit access to only trusted hosts.
This issue is being tracked as PR 826518 and is visible on the Juniper
Customer Support website.
Discovered by.
Sense of Security Labs.
About us.
Sense of Security is a leading provider of information security and
risk management solutions. Our team has expert skills in assessment
and assurance, strategy and architecture, and deployment through to
ongoing management. We are Australia's premier application penetration
testing firm and trusted IT security advisor to many of the country's
largest organisations.
Products Mentioned
Configuraton 0
Juniper>>Junos >> Version To (including) 10.4
Juniper>>Junos >> Version 10.0
Juniper>>Junos >> Version 10.1
Juniper>>Junos >> Version 10.2
Juniper>>Junos >> Version 10.3
Juniper>>Junos >> Version 11.4
Juniper>>Junos >> Version 12.1
Juniper>>Junos >> Version 12.2
Juniper>>Junos >> Version 12.3
References