CVE-2008-3655 : Detail

CVE-2008-3655

A01-Broken Access Control
53.6%V3
Network
2008-08-12
23h00 +00:00
2018-10-11
17h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 does not properly restrict access to critical variables and methods at various safe levels, which allows context-dependent attackers to bypass intended access restrictions via (1) untrace_var, (2) $PROGRAM_NAME, and (3) syslog at safe level 4, and (4) insecure methods at safe levels 1 through 3.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-264 Category : Permissions, Privileges, and Access Controls
Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.

Metrics

Metrics Score Severity CVSS Vector Source
V2 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P [email protected]

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 : 32224

Publication date : 2008-08-10 22h00 +00:00
Author : Keita Yamaguchi
EDB Verified : Yes

source: https://www.securityfocus.com/bid/30644/info Ruby is prone to multiple vulnerabilities that can be leveraged to bypass security restrictions or cause a denial of service: - Multiple security-bypass vulnerabilities occur because of errors in the 'safe level' restriction implementation. Attackers can leverage these issues to make insecure function calls and perform 'Syslog' operations. - An error affecting 'WEBrick::HHTP::DefaultFileHandler' can exhaust system resources and deny service to legitimate users. - A flaw in 'dl' can allow attackers to call unauthorized functions. Attackers can exploit these issues to perform unauthorized actions on affected applications. This may aid in compromising the application and possibly the underlying computers. Attackers can also cause denial-of-service conditions. These issues affect Ruby 1.8.5, 1.8.6-p286, 1.8.7-p71, and 1.9 r18423. Prior versions are also vulnerable. class Hello def world Thread.new do $SAFE = 4 msg = "Hello, World!" def msg.size self.replace self*10 # replace string 1 # return wrong size end msg end.value end end $SAFE = 1 # or 2, or 3 s = Hello.new.world if s.kind_of?(String) puts s if s.size < 20 # print string which size is less than 20 end
Exploit Database EDB-ID : 32223

Publication date : 2008-08-10 22h00 +00:00
Author : Keita Yamaguchi
EDB Verified : Yes

source: https://www.securityfocus.com/bid/30644/info Ruby is prone to multiple vulnerabilities that can be leveraged to bypass security restrictions or cause a denial of service: - Multiple security-bypass vulnerabilities occur because of errors in the 'safe level' restriction implementation. Attackers can leverage these issues to make insecure function calls and perform 'Syslog' operations. - An error affecting 'WEBrick::HHTP::DefaultFileHandler' can exhaust system resources and deny service to legitimate users. - A flaw in 'dl' can allow attackers to call unauthorized functions. Attackers can exploit these issues to perform unauthorized actions on affected applications. This may aid in compromising the application and possibly the underlying computers. Attackers can also cause denial-of-service conditions. These issues affect Ruby 1.8.5, 1.8.6-p286, 1.8.7-p71, and 1.9 r18423. Prior versions are also vulnerable. require 'dl' $SAFE = 1 h = DL.dlopen(nil) sys = h.sym('system', 'IP') uname = 'uname -rs'.taint sys[uname]

Products Mentioned

Configuraton 0

Ruby-lang>>Ruby >> Version To (including) 1.8.5

Ruby-lang>>Ruby >> Version 1.6.8

    Ruby-lang>>Ruby >> Version 1.8.0

    Ruby-lang>>Ruby >> Version 1.8.1

    Ruby-lang>>Ruby >> Version 1.8.1

      Ruby-lang>>Ruby >> Version 1.8.2

      Ruby-lang>>Ruby >> Version 1.8.2

      Ruby-lang>>Ruby >> Version 1.8.2

      Ruby-lang>>Ruby >> Version 1.8.2

      Ruby-lang>>Ruby >> Version 1.8.3

      Ruby-lang>>Ruby >> Version 1.8.3

      Ruby-lang>>Ruby >> Version 1.8.3

      Ruby-lang>>Ruby >> Version 1.8.3

      Ruby-lang>>Ruby >> Version 1.8.4

      Ruby-lang>>Ruby >> Version 1.8.4

      Ruby-lang>>Ruby >> Version 1.8.4

      Ruby-lang>>Ruby >> Version 1.8.4

        Ruby-lang>>Ruby >> Version 1.8.5

          Ruby-lang>>Ruby >> Version 1.8.5

            Ruby-lang>>Ruby >> Version 1.8.5

              Ruby-lang>>Ruby >> Version 1.8.5

                Ruby-lang>>Ruby >> Version 1.8.5

                  Ruby-lang>>Ruby >> Version 1.8.5

                    Ruby-lang>>Ruby >> Version 1.8.5

                    Ruby-lang>>Ruby >> Version 1.8.5

                    Ruby-lang>>Ruby >> Version 1.8.5

                    Ruby-lang>>Ruby >> Version 1.8.5

                    Ruby-lang>>Ruby >> Version 1.8.5

                    Ruby-lang>>Ruby >> Version 1.8.6

                    Ruby-lang>>Ruby >> Version 1.8.6

                      Ruby-lang>>Ruby >> Version 1.8.6

                        Ruby-lang>>Ruby >> Version 1.8.6

                          Ruby-lang>>Ruby >> Version 1.8.6

                            Ruby-lang>>Ruby >> Version 1.8.6

                              Ruby-lang>>Ruby >> Version 1.8.6

                                Ruby-lang>>Ruby >> Version 1.8.6

                                Ruby-lang>>Ruby >> Version 1.8.6

                                Ruby-lang>>Ruby >> Version 1.8.6

                                Ruby-lang>>Ruby >> Version 1.8.7

                                Ruby-lang>>Ruby >> Version 1.8.7

                                Ruby-lang>>Ruby >> Version 1.8.7

                                Ruby-lang>>Ruby >> Version 1.8.7

                                Ruby-lang>>Ruby >> Version 1.8.7

                                Ruby-lang>>Ruby >> Version 1.8.7

                                Ruby-lang>>Ruby >> Version 1.8.7

                                Ruby-lang>>Ruby >> Version 1.8.7

                                Ruby-lang>>Ruby >> Version 1.9.0

                                References

                                http://secunia.com/advisories/31430
                                Tags : third-party-advisory, x_refsource_SECUNIA
                                http://www.securitytracker.com/id?1020656
                                Tags : vdb-entry, x_refsource_SECTRACK
                                http://secunia.com/advisories/31697
                                Tags : third-party-advisory, x_refsource_SECUNIA
                                https://usn.ubuntu.com/651-1/
                                Tags : vendor-advisory, x_refsource_UBUNTU
                                http://support.apple.com/kb/HT3549
                                Tags : x_refsource_CONFIRM
                                http://www.debian.org/security/2008/dsa-1652
                                Tags : vendor-advisory, x_refsource_DEBIAN
                                http://secunia.com/advisories/35074
                                Tags : third-party-advisory, x_refsource_SECUNIA
                                http://www.debian.org/security/2008/dsa-1651
                                Tags : vendor-advisory, x_refsource_DEBIAN
                                http://www.redhat.com/support/errata/RHSA-2008-0895.html
                                Tags : vendor-advisory, x_refsource_REDHAT
                                http://www.securityfocus.com/bid/30644
                                Tags : vdb-entry, x_refsource_BID
                                http://www.redhat.com/support/errata/RHSA-2008-0897.html
                                Tags : vendor-advisory, x_refsource_REDHAT
                                http://secunia.com/advisories/32219
                                Tags : third-party-advisory, x_refsource_SECUNIA
                                http://www.us-cert.gov/cas/techalerts/TA09-133A.html
                                Tags : third-party-advisory, x_refsource_CERT
                                http://secunia.com/advisories/32255
                                Tags : third-party-advisory, x_refsource_SECUNIA
                                http://www.vupen.com/english/advisories/2009/1297
                                Tags : vdb-entry, x_refsource_VUPEN
                                http://secunia.com/advisories/32371
                                Tags : third-party-advisory, x_refsource_SECUNIA
                                http://secunia.com/advisories/32165
                                Tags : third-party-advisory, x_refsource_SECUNIA
                                http://security.gentoo.org/glsa/glsa-200812-17.xml
                                Tags : vendor-advisory, x_refsource_GENTOO
                                http://secunia.com/advisories/33178
                                Tags : third-party-advisory, x_refsource_SECUNIA
                                http://www.vupen.com/english/advisories/2008/2334
                                Tags : vdb-entry, x_refsource_VUPEN
                                http://secunia.com/advisories/32372
                                Tags : third-party-advisory, x_refsource_SECUNIA
                                http://secunia.com/advisories/32256
                                Tags : third-party-advisory, x_refsource_SECUNIA