<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/i-hacked-into-my-university-s-vending-machine-and-it-was-soo-bad--w5k8jth7o" -->

---
title: I Hacked into my University’s Vending Machine And it was...
description: A student describes finding severe security flaws in a university vending machine payment app (J Vend), including hardcoded backend credentials in the APK, a...
canonical: https://daily.dev/posts/i-hacked-into-my-university-s-vending-machine-and-it-was-soo-bad--w5k8jth7o
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: I Hacked into my University’s Vending Machine And it was soo BAD! | daily.dev
og:description: A student describes finding severe security flaws in a university vending machine payment app (J Vend), including hardcoded backend credentials in the APK, a...
og:url: https://daily.dev/posts/i-hacked-into-my-university-s-vending-machine-and-it-was-soo-bad--w5k8jth7o
og:image: https://api.daily.dev/og/posts/W5k8jth7O.png
og:image:alt: I Hacked into my University’s Vending Machine And it was soo BAD!
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I Hacked into my University’s Vending Machine And it was soo BAD!

**[InfoSec Write-ups](https://daily.dev/sources/infosecwriteups)** · 7 min read · 4 upvotes · 0 comments

## Summary

A student describes finding severe security flaws in a university vending machine payment app (J Vend), including hardcoded backend credentials in the APK, a SQL injection avenue to confirm account existence via phpMyAdmin, and an authentication endpoint with rate limiting disabled. The frontend trusted sensitive data and logic that should have lived server-side. After privately reporting the issues to the company and founders and receiving no response, the details (minus exploit specifics, APK, and credentials) were published publicly, along with lessons about never trusting the client and securing authentication endpoints against brute force.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://infosecwriteups.com/i-hacked-into-my-universitys-vending-machine-and-it-was-soo-bad-c411c2b968f4>

## Questions this post answers

### What is CVE-2017-1000017 and how is it relevant to phpMyAdmin access?

CVE-2017-1000017 is referenced as a technique used to determine whether a hardcoded username still exists in a backend database even after its password has been changed, by observing how phpMyAdmin responds to authentication attempts against that username. In this vending machine app case, it confirmed the hardcoded account was real even though direct login failed.

_Developers auditing exposed admin panels can find similar CVE writeups and disclosures curated on daily.dev._

### Why is hardcoding a username and password in a mobile app's frontend code a security risk?

Hardcoding credentials in a client-side app means anyone who decompiles the APK can extract them, since the frontend cannot keep secrets. In one case, a vending machine app had a backend account's username and password embedded directly in the app, exposing a real database account to inspection even after the password was later rotated.

_Teams hardening mobile and web clients track secrets-management lessons like this on daily.dev._

### Why is missing rate limiting on an authentication endpoint a serious vulnerability?

Without rate limiting, an authentication endpoint allows unlimited repeated login attempts, making brute-force or credential-stuffing attacks feasible against sensitive backend accounts. In a vending machine payment app, an exposed admin account combined with no rate limiting on its login endpoint left the door open for attackers to eventually guess the password.

_Engineers building auth flows follow real-world rate-limiting failures and fixes on daily.dev._

## Similar posts on daily.dev

- [I keep finding vibe coded apps that leak user data, and I'm not even looking for it](https://daily.dev/posts/i-keep-finding-vibe-coded-apps-that-leak-user-data-and-i-m-not-even-looking-for-it-74ydqzotl) · XDA Developers · 4 upvotes · 0 comments
- [How I Hacked My College’s Website and Found a CVE Affecting 100\+ Institutions across India](https://daily.dev/posts/how-i-hacked-my-college-s-website-and-found-a-cve-affecting-100-institutions-across-india-kigpolq97) · InfoSec Write-ups · 0 upvotes · 0 comments
- [AI-built app on Lovable exposed 18K users, researcher claims](https://daily.dev/posts/ai-built-app-on-lovable-exposed-18k-users-researcher-claims-wdpsjqwku) · The Register · 0 upvotes · 0 comments
- [What the Recent PayPal Breach Says About Modern Web Risk](https://daily.dev/posts/what-the-recent-paypal-breach-says-about-modern-web-risk-uhz6thlec) · Security Boulevard · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#sql](https://daily.dev/tags/sql)

[View this post on daily.dev](https://daily.dev/posts/i-hacked-into-my-university-s-vending-machine-and-it-was-soo-bad--w5k8jth7o)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"I Hacked into my University’s Vending Machine And it was soo BAD!","url":"https://daily.dev/posts/i-hacked-into-my-university-s-vending-machine-and-it-was-soo-bad--w5k8jth7o","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/i-hacked-into-my-university-s-vending-machine-and-it-was-soo-bad--w5k8jth7o"},"datePublished":"2026-09-04T03:56:44.567Z","dateModified":"2026-09-13T19:22:45.412Z","description":"A student describes finding severe security flaws in a university vending machine payment app (J Vend), including hardcoded backend credentials in the APK, a...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5a31568a592010ecabd3f9e6d4602c4b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5a31568a592010ecabd3f9e6d4602c4b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"InfoSec Write-ups","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"InfoSec Write-ups","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f0dc21b5bbfd46fda36f7b4b53dd1705","url":"https://daily.dev/sources/infosecwriteups"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/i-hacked-into-my-university-s-vending-machine-and-it-was-soo-bad--w5k8jth7o","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,sql","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"InfoSec Write-ups","item":"https://daily.dev/sources/infosecwriteups"},{"@type":"ListItem","position":3,"name":"I Hacked into my University’s Vending Machine And it was soo BAD!"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/i-hacked-into-my-university-s-vending-machine-and-it-was-soo-bad--w5k8jth7o#faq","mainEntity":[{"@type":"Question","name":"What is CVE-2017-1000017 and how is it relevant to phpMyAdmin access?","acceptedAnswer":{"@type":"Answer","text":"CVE-2017-1000017 is referenced as a technique used to determine whether a hardcoded username still exists in a backend database even after its password has been changed, by observing how phpMyAdmin responds to authentication attempts against that username. In this vending machine app case, it confirmed the hardcoded account was real even though direct login failed. Developers auditing exposed admin panels can find similar CVE writeups and disclosures curated on daily.dev."}},{"@type":"Question","name":"Why is hardcoding a username and password in a mobile app's frontend code a security risk?","acceptedAnswer":{"@type":"Answer","text":"Hardcoding credentials in a client-side app means anyone who decompiles the APK can extract them, since the frontend cannot keep secrets. In one case, a vending machine app had a backend account's username and password embedded directly in the app, exposing a real database account to inspection even after the password was later rotated. Teams hardening mobile and web clients track secrets-management lessons like this on daily.dev."}},{"@type":"Question","name":"Why is missing rate limiting on an authentication endpoint a serious vulnerability?","acceptedAnswer":{"@type":"Answer","text":"Without rate limiting, an authentication endpoint allows unlimited repeated login attempts, making brute-force or credential-stuffing attacks feasible against sensitive backend accounts. In a vending machine payment app, an exposed admin account combined with no rate limiting on its login endpoint left the door open for attackers to eventually guess the password. Engineers building auth flows follow real-world rate-limiting failures and fixes on daily.dev."}}]}
```

