Skip to content
Info disclosure Disclosed report Beginner CVE-2016-3727CVE-2017-2608

Outdated Jenkins server hosted at OwnCloud.org

An outdated Jenkins server exposed at ci.owncloud.org allowed users with extended read permission to view global configuration, including security realm details, and was also vulnerable to a remote code execution flaw in XStream. An attacker could potentially exploit these to gain sensitive information or execute code.

computer-engineer Follow

Originally disclosed on HackerOne

  • Fixed in 17 days
  • Disclosed after 34 days

###Summary: The target OwnCloud's server is running an outdated version of Jenkins server which is vulnerable to various attacks.

Server Location: https://ci.owncloud.org

Vulnerable Software: Jenkins ver. 2.27

###Proof of Exploitability

CVE-2016-3727 POC URL: https://ci.owncloud.org/computer/(master)/api/xml

Details:

The API URL /computer/(master)/api/xml allowed users with the extended read permission for the master node to see some global Jenkins configuration, including the configuration of the security realm.

Source: https://jenkins.io/security/advisory/2016-05-11/

Additionally, the current software version is also vulnerable to RCE.

CVE-2017-2608

XStream remote code execution vulnerability

Affected Versions: < 2.43

Source: https://jenkins.io/security/advisory/2017-02-01/

###Recommended Fix Update Jenkins server to latest version 2.47

Attachments

POC_for_CVE-2016-3727.JPG
POC_for_CVE-2016-3727.JPG From the original on HackerOne

The original report as published on HackerOne, by computer-engineer. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the Jenkins server was not kept up to date, leaving it exposed to publicly known vulnerabilities.

Impact

An attacker with extended read permission could view sensitive configuration, and the server could be compromised via remote code execution.

What the attacker needed

Extended read permission for master node

The fix

The Jenkins server should be updated to the latest version.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Jenkins is a tool that helps build and test software automatically. This report found that an old version of Jenkins was running on a public website, and that version had known security holes. One hole let certain users see private settings, and another could let an attacker run their own code on the server.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by computer-engineer

View all

1 more disclosed report, best first.

More from ownCloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.